[bugfix] query for data flag/attribute isNew changed
This commit is contained in:
parent
71da6ded2b
commit
30e2e1df84
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user