[bugfix] workaround for MacOS, where SetChannelComponents class can not be saved using QSettings
This commit is contained in:
parent
fb6ba83cc5
commit
1a20d7fbcb
@ -804,7 +804,7 @@ class WaveformWidgetPG(QtGui.QWidget):
|
|||||||
|
|
||||||
settings = QSettings()
|
settings = QSettings()
|
||||||
compclass = settings.value('compclass')
|
compclass = settings.value('compclass')
|
||||||
if not compclass:
|
if not type(compclass) == SetChannelComponents:
|
||||||
print('Warning: No settings for channel components found. Using default')
|
print('Warning: No settings for channel components found. Using default')
|
||||||
compclass = SetChannelComponents()
|
compclass = SetChannelComponents()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user