[bugfix] query for data flag/attribute isNew changed

This commit is contained in:
Marcel Paffrath 2017-06-26 17:41:08 +02:00
parent 71da6ded2b
commit 30e2e1df84
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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