summaryrefslogtreecommitdiff
path: root/grc/python/Connection.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2015-01-13 11:28:50 +0100
committerSebastian Koslowski <koslowski@kit.edu>2015-01-13 11:28:50 +0100
commitce016bedf1936c7eeba3edca566b1ea9da0e578a (patch)
tree368ba6194eaecd207efa9264eca14293014c88c3 /grc/python/Connection.py
parenteec52a4d1583ca794a43712dc1809481910640da (diff)
grc: fix connection validation and error state display
Diffstat (limited to 'grc/python/Connection.py')
-rw-r--r--grc/python/Connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Connection.py b/grc/python/Connection.py
index 0a6cf5fa46..822876a0ae 100644
--- a/grc/python/Connection.py
+++ b/grc/python/Connection.py
@@ -38,8 +38,8 @@ class Connection(_Connection, _GUIConnection):
Validate the connections.
The ports must match in io size.
"""
+ _Connection.validate(self)
source_size = Constants.TYPE_TO_SIZEOF[self.get_source().get_type()] * self.get_source().get_vlen()
sink_size = Constants.TYPE_TO_SIZEOF[self.get_sink().get_type()] * self.get_sink().get_vlen()
if source_size != sink_size:
self.add_error_message('Source IO size "%s" does not match sink IO size "%s".'%(source_size, sink_size))
- _Connection.validate(self)