[bugfix] Parameter window opening when loading events

This commit is contained in:
Marcel Paffrath 2021-07-09 11:22:04 +02:00
parent bd9c1d0f73
commit 819ea8bf00

View File

@ -3692,8 +3692,8 @@ class MainWindow(QMainWindow):
# self.closing.emit()
# QMainWindow.closeEvent(self, event)
def setParameter(self, show=True):
show = True
def setParameter(self, checked=0, show=True):
if checked: pass # dummy argument to receive trigger signal (checked) if called by QAction
if not self.paraBox:
self.paraBox = PylotParaBox(self._inputs, parent=self, windowflag=Qt.Window)
self.paraBox.accepted.connect(self._setDirty)