Skip to content

Commit

Permalink
[processing] make script editor, modeler and results viewer non modal
Browse files Browse the repository at this point in the history
(fix #9849)
  • Loading branch information
alexbruy committed Mar 25, 2014
1 parent bd3f5b1 commit 3374095
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/ProcessingPlugin.py
Expand Up @@ -139,12 +139,14 @@ def openToolbox(self):

def openModeler(self):
dlg = ModelerDialog()
dlg.show()
dlg.exec_()
if dlg.update:
self.toolbox.updateTree()

def openResults(self):
dlg = ResultsDialog()
dlg.show()
dlg.exec_()

def openHistory(self):
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/gui/CreateNewScriptAction.py
Expand Up @@ -53,6 +53,7 @@ def execute(self):
dlg = ScriptEditorDialog(ScriptEditorDialog.SCRIPT_PYTHON, None)
if self.scriptType == self.SCRIPT_R:
dlg = ScriptEditorDialog(ScriptEditorDialog.SCRIPT_R, None)
dlg.show()
dlg.exec_()
if dlg.update:
self.toolbox.updateTree()
1 change: 1 addition & 0 deletions python/plugins/processing/modeler/CreateNewModelAction.py
Expand Up @@ -42,6 +42,7 @@ def getIcon(self):

def execute(self):
dlg = ModelerDialog()
dlg.show()
dlg.exec_()
if dlg.update:
self.toolbox.updateTree()

0 comments on commit 3374095

Please sign in to comment.