Disabled/enabled saveProject button.
This commit is contained in:
parent
39a7ce2d89
commit
312932ce5e
@ -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)
|
||||||
|
@ -1 +1 @@
|
|||||||
6225-dirty
|
39a7-dirty
|
||||||
|
Loading…
Reference in New Issue
Block a user