[change] imported pick/location data now completely overwrites current
data instead of "weirdly" merging everything
This commit is contained in:
parent
02900d8c9d
commit
ea07823a61
4
PyLoT.py
4
PyLoT.py
@ -942,7 +942,9 @@ class MainWindow(QMainWindow):
|
|||||||
data = Data(self, event)
|
data = Data(self, event)
|
||||||
try:
|
try:
|
||||||
data_new = Data(self, evtdata=str(fname))
|
data_new = Data(self, evtdata=str(fname))
|
||||||
data += data_new
|
# MP MP uncommented because adding several picks might cause inconsistencies
|
||||||
|
data = data_new
|
||||||
|
#data += data_new
|
||||||
except ValueError:
|
except ValueError:
|
||||||
qmb = QMessageBox(self, icon=QMessageBox.Question,
|
qmb = QMessageBox(self, icon=QMessageBox.Question,
|
||||||
text='Warning: Missmatch in event identifiers {} and {}. Continue?'.format(
|
text='Warning: Missmatch in event identifiers {} and {}. Continue?'.format(
|
||||||
|
Loading…
Reference in New Issue
Block a user