Skip to content

Commit

Permalink
remove reject() fn
Browse files Browse the repository at this point in the history
  • Loading branch information
samamou authored and jcelerier committed Jan 25, 2025
1 parent dbd08e5 commit d35bd75
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ class ProcessScriptEditDialog : public ScriptDialog

protected:
const Process_T& m_process;
void closeEvent(QCloseEvent* event) override { reject(); }

void reject() override
void closeEvent(QCloseEvent* event) override
{
const_cast<QWidget*&>(m_process.externalUI) = nullptr;
m_process.externalUIVisible(false);
Expand Down

0 comments on commit d35bd75

Please sign in to comment.