summaryrefslogtreecommitdiff
path: root/grc/core/Port.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Port.py')
-rw-r--r--grc/core/Port.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Port.py b/grc/core/Port.py
index 9114246b2f..da1e016d7c 100644
--- a/grc/core/Port.py
+++ b/grc/core/Port.py
@@ -181,7 +181,7 @@ class Port(Element):
return Constants.TYPE_TO_SIZEOF.keys()
def is_type_empty(self):
- return not self._n['type']
+ return not self._n['type'] or not self.get_parent().resolve_dependencies(self._n['type'])
def validate(self):
Element.validate(self)