Disabled/enabled saveProject button.

This commit is contained in:
Ludger Küperkoch 2017-04-28 13:47:24 +02:00
parent 39a7ce2d89
commit 312932ce5e
2 changed files with 3 additions and 1 deletions

View File

@ -256,6 +256,7 @@ class MainWindow(QMainWindow):
QKeySequence.Save, QKeySequence.Save,
saveProjectIcon, saveProjectIcon,
"Save project file") "Save project file")
self.saveProjectAction.setEnabled(False)
# newEventAction = self.createAction(self, "&New event ...", # newEventAction = self.createAction(self, "&New event ...",
# self.createNewEvent, # self.createNewEvent,
# QKeySequence.New, newIcon, # QKeySequence.New, newIcon,
@ -939,6 +940,7 @@ class MainWindow(QMainWindow):
def finishWaveformDataPlot(self): def finishWaveformDataPlot(self):
self.connectWFplotEvents() self.connectWFplotEvents()
self.saveProjectAction.setEnabled(True)
self.auto_pick.setEnabled(True) self.auto_pick.setEnabled(True)
self.z_action.setEnabled(True) self.z_action.setEnabled(True)
self.e_action.setEnabled(True) self.e_action.setEnabled(True)

View File

@ -1 +1 @@
6225-dirty 39a7-dirty