diff --git a/QtPyLoT.py b/QtPyLoT.py index 1917265f..3426fa51 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -146,6 +146,7 @@ class MainWindow(QMainWindow): self.data = Data(self, lastEvent) else: self.data = Data(self) + self.data._new = False self.autodata = Data(self) if settings.value("user/FullName", None) is None: diff --git a/pylot/core/io/data.py b/pylot/core/io/data.py index f1838abf..fc8387fc 100644 --- a/pylot/core/io/data.py +++ b/pylot/core/io/data.py @@ -350,7 +350,7 @@ class Data(object): information on the event to the actual data :param event: """ - if not self.isNew(): + if self.isNew(): self.setEvtData(event) else: # prevent overwriting original pick information