diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-20 15:06:12 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-29 15:45:07 +0200 |
commit | dbcc062b337ba7fa24fa98f26984ee61d484d834 (patch) | |
tree | 2d00585c25aae62b42bcc6203284ed1d844ff57b /grc/gui/FlowGraph.py | |
parent | 8c47e64c9e40a4b4835ba0f8e4c5fdf77480aadc (diff) |
grc: gtk3: fix port label hiding
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py index c3571231fb..da88636e1b 100644 --- a/grc/gui/FlowGraph.py +++ b/grc/gui/FlowGraph.py @@ -526,11 +526,11 @@ class FlowGraph(Element, _Flowgraph): selected_elements = new_selections if self._old_selected_port: - self._old_selected_port.force_label_unhidden(False) + self._old_selected_port.force_show_label = False self.create_shapes() self.queue_draw() elif self._new_selected_port: - self._new_selected_port.force_label_unhidden() + self._new_selected_port.force_show_label = True else: # called from a mouse release if not self.element_moved and (not self.selected_elements or self.get_ctrl_mask()): @@ -705,7 +705,7 @@ class FlowGraph(Element, _Flowgraph): if not Actions.TOGGLE_AUTO_HIDE_PORT_LABELS.get_active(): return redraw = False - for element in reversed(self.get_elements()): + for element in self._elements_to_draw: over_element = element.what_is_selected(coordinate) if not over_element: continue |