summaryrefslogtreecommitdiff
path: root/grc/gui/FlowGraph.py
diff options
context:
space:
mode:
authorEthan Trewhitt <ethan@trewhitt.org>2017-10-25 13:36:33 -0400
committerEthan Trewhitt <ethan@trewhitt.org>2017-10-25 21:20:38 -0400
commita3d5c7fdcef630a902b62305c2b0c57121e24209 (patch)
tree9240972f1d320f4e8c78abd1397c618436f2f1ba /grc/gui/FlowGraph.py
parenta0adcd3347c7ffd6ef3c42ce7705a23978774d3b (diff)
Added parent (aka 'transient for') references to most (if not all) dialog boxes. First attempt at fixing #1494.
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r--grc/gui/FlowGraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py
index e0cd7d1441..ea52a13c0c 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -82,7 +82,7 @@ class FlowGraph(Element, _Flowgraph):
break
return block_id
- def install_external_editor(self, param):
+ def install_external_editor(self, param, parent=None):
target = (param.get_parent().get_id(), param.get_key())
if target in self._external_updaters:
@@ -90,7 +90,7 @@ class FlowGraph(Element, _Flowgraph):
else:
config = self.get_parent().config
editor = (find_executable(config.editor) or
- Dialogs.ChooseEditorDialog(config))
+ Dialogs.ChooseEditorDialog(config, parent))
if not editor:
return
updater = functools.partial(