diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-07-11 15:50:30 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-07-11 15:50:30 -0400 |
commit | fe1f386291b77d562e0602ef61b64a42d863e535 (patch) | |
tree | f1972ef0043fb4825b6eaf9abf0e229850290ea4 /grc/gui/Port.py | |
parent | 62831422ae4b2a817a997153468008db38e06598 (diff) | |
parent | 831d05eb283e1ac4decb312c990cba089cdca316 (diff) |
Merge remote-tracking branch 'gnuradio-wg-grc/grc_hide_ports'
Conflicts:
grc/base/Port.py
grc/gui/Block.py
Diffstat (limited to 'grc/gui/Port.py')
-rw-r--r-- | grc/gui/Port.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Port.py b/grc/gui/Port.py index 8b4edfa430..41a458cde6 100644 --- a/grc/gui/Port.py +++ b/grc/gui/Port.py @@ -59,7 +59,7 @@ class Port(Element): if hasattr(self, '_connector_length'): del self._connector_length; return - length = len(ports) + length = len(filter(lambda p: not p.get_hide(), ports)) #reverse the order of ports for these rotations if rotation in (180, 270): index = length-index-1 offset = (self.get_parent().H - length*self.H - (length-1)*PORT_SEPARATION)/2 |