diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index d65bd29e..76d35972 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -804,7 +804,7 @@ class WaveformWidgetPG(QtGui.QWidget): settings = QSettings() compclass = settings.value('compclass') - if not compclass: + if not type(compclass) == SetChannelComponents: print('Warning: No settings for channel components found. Using default') compclass = SetChannelComponents()