[add] current event saved as XML before picking in GUI

This commit is contained in:
Marcel Paffrath 2017-08-07 16:49:56 +02:00
parent 0692569056
commit aa954dcd52

View File

@ -1847,6 +1847,8 @@ class MainWindow(QMainWindow):
QMessageBox.warning(self, "PyLoT Warning", QMessageBox.warning(self, "PyLoT Warning",
"No autoPyLoT output declared!") "No autoPyLoT output declared!")
return return
event = self.get_current_event()
self.saveData(event, event.path, outformats=['.xml'])
self.listWidget = QListWidget() self.listWidget = QListWidget()
self.setDirty(True) self.setDirty(True)
self.logDockWidget = QDockWidget("AutoPickLog", self) self.logDockWidget = QDockWidget("AutoPickLog", self)