[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) | ||||
|         try: | ||||
|             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: | ||||
|             qmb = QMessageBox(self, icon=QMessageBox.Question, | ||||
|                               text='Warning: Missmatch in event identifiers {} and {}. Continue?'.format( | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user