Skip to content

Commit ff4da16

Browse files
authored
Fix setVisible error
1 parent cf2375f commit ff4da16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugindevtools/PluginDevTools/PluginDevToolsWidget.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,8 @@ def stopSampling(self, localCall = True):
10111011
QtWidgets.qApp.installEventFilter(self.windowFilter)
10121012
#??self.currentWindow.removeEventFilter(self.windowFilter)
10131013
self.currentWindow = None
1014-
self.selectorWidget.setVisible(False)
1014+
if self.selectorWidget:
1015+
self.selectorWidget.setVisible(False)
10151016

10161017
if self.currentWidget:
10171018
if self.useStyleSheet:

0 commit comments

Comments
 (0)