Commit 51741325 authored by payno's avatar payno Committed by Henri Payno
Browse files

NormIntensityWindow: fix, can be called twice

parent cb49e2fb
......@@ -140,8 +140,9 @@ class NormIntensityWindow(qt.QMainWindow):
self._optsWidget.setCurrentMethod(mode)
def stop(self):
self._centralWidget.stop()
self._centralWidget = None
if self._centralWidget is not None:
self._centralWidget.stop()
self._centralWidget = None
def getExtraArgs(self) -> dict:
return self._optsWidget.getExtraInfos()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment