commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 06/25: grc: remove some dead code in FlowGr


From: git
Subject: [Commit-gnuradio] [gnuradio] 06/25: grc: remove some dead code in FlowGraph.what_is_selected()
Date: Fri, 27 May 2016 19:14:58 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit b9eaafa90f4e42f156bb5b9e87d21c16b1b4f4c7
Author: Sebastian Koslowski <address@hidden>
Date:   Tue May 10 22:00:42 2016 +0200

    grc: remove some dead code in FlowGraph.what_is_selected()
---
 grc/gui/FlowGraph.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py
index 67e28c5..02d5197 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -530,13 +530,6 @@ class FlowGraph(Element, _Flowgraph):
             selected_element = element.what_is_selected(coor, coor_m)
             if not selected_element:
                 continue
-            # hidden disabled connections, blocks and their ports can not be 
selected
-            if Actions.TOGGLE_HIDE_DISABLED_BLOCKS.get_active() and (
-                selected_element.is_block and not 
selected_element.get_enabled() or
-                selected_element.is_connection and not 
selected_element.get_enabled() or
-                selected_element.is_port and not 
selected_element.get_parent().get_enabled()
-            ):
-                continue
             #update the selected port information
             if selected_element.is_port:
                 if not coor_m: selected_port = selected_element



reply via email to

[Prev in Thread] Current Thread [Next in Thread]