summaryrefslogtreecommitdiff
path: root/portato/gui/windows/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/windows/basic.py')
-rw-r--r--portato/gui/windows/basic.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/portato/gui/windows/basic.py b/portato/gui/windows/basic.py
index 330f823..9d1b9ed 100644
--- a/portato/gui/windows/basic.py
+++ b/portato/gui/windows/basic.py
@@ -52,7 +52,11 @@ class UIBuilder (object):
if connector is None: connector = self
- self._builder.connect_signals(connector)
+ unconnected = self._builder.connect_signals(connector)
+
+ if unconnected is not None:
+ for uc in set(unconnected):
+ error("Signal '%s' not connected in class '%s'.", uc, self.__class__.__name__)
self.tree = WrappedTree(self.__class__.__name__, self._builder)