[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)
|
self.data = Data(self, lastEvent)
|
||||||
else:
|
else:
|
||||||
self.data = Data(self)
|
self.data = Data(self)
|
||||||
|
self.data._new = False
|
||||||
self.autodata = Data(self)
|
self.autodata = Data(self)
|
||||||
|
|
||||||
if settings.value("user/FullName", None) is None:
|
if settings.value("user/FullName", None) is None:
|
||||||
|
@ -350,7 +350,7 @@ class Data(object):
|
|||||||
information on the event to the actual data
|
information on the event to the actual data
|
||||||
:param event:
|
:param event:
|
||||||
"""
|
"""
|
||||||
if not self.isNew():
|
if self.isNew():
|
||||||
self.setEvtData(event)
|
self.setEvtData(event)
|
||||||
else:
|
else:
|
||||||
# prevent overwriting original pick information
|
# prevent overwriting original pick information
|
||||||
|
Loading…
Reference in New Issue
Block a user