summaryrefslogtreecommitdiff
path: root/grc/gui/FlowGraph.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2013-11-07 10:00:49 +0100
committerSebastian Koslowski <koslowski@kit.edu>2013-11-07 10:36:10 +0100
commitdd7abe7e6abe160230cee4c9702da55cea18d643 (patch)
treec9b7eaad518848d222d7cec35bea86c9b6303289 /grc/gui/FlowGraph.py
parent407c3569b7757031cab7228996c6016769bb4a32 (diff)
grc: prevent unselect on context menu activation
A thanks to Michael Burian for reporting this.
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r--grc/gui/FlowGraph.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py
index 4dff675afb..2a5d60d417 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -68,6 +68,7 @@ class FlowGraph(Element):
Actions.BUSSIFY_SOURCES,
Actions.BUSSIFY_SINKS,
]: self._context_menu.append(action.create_menu_item())
+ self.get_context_menu = lambda: self._context_menu
###########################################################################
# Access Drawing Area