[add] saveAllEvents now connected to export for Autopick process and saveProject
This commit is contained in:
parent
6042b38ee9
commit
014152e30e
@ -2550,6 +2550,7 @@ class MainWindow(QMainWindow):
|
||||
self.project.save(filename)
|
||||
self.setDirty(False)
|
||||
self.saveProjectAsAction.setEnabled(True)
|
||||
self.exportAllEvents()
|
||||
self.update_status('Saved new project to {}'.format(filename), duration=5000)
|
||||
return True
|
||||
|
||||
@ -2565,6 +2566,7 @@ class MainWindow(QMainWindow):
|
||||
else:
|
||||
self.project.parameter = self._inputs
|
||||
self.project.save()
|
||||
self.exportAllEvents()
|
||||
if not self.project.dirty:
|
||||
self.update_status('Saved back project to file:\n{}'.format(self.project.location), duration=5000)
|
||||
self.setDirty(False)
|
||||
|
@ -2869,6 +2869,7 @@ class AutoPickDlg(QDialog):
|
||||
self.gb.setLayout(self.jobLayout)
|
||||
|
||||
def exportParameter(self):
|
||||
self.parent().exportAllEvents()
|
||||
pylot_params = self.parent()._inputs
|
||||
self.addEvents2pp(pylot_params)
|
||||
pylot_params.export2File(self.pp_export)
|
||||
|
Loading…
Reference in New Issue
Block a user