[change] workaround reinit tuneAutopicker widget
This commit is contained in:
		
							parent
							
								
									874fdd730a
								
							
						
					
					
						commit
						942b606fca
					
				| @ -1798,7 +1798,7 @@ class MainWindow(QMainWindow): | ||||
|             fig = Figure() | ||||
|             self.fig_dict[key] = fig | ||||
| 
 | ||||
|         if not self.tap: | ||||
|         #if not self.tap: | ||||
|         # init TuneAutopicker object | ||||
|         self.tap = TuneAutopicker(self) | ||||
|         # first call of update to init tabs with empty canvas | ||||
| @ -1807,9 +1807,9 @@ class MainWindow(QMainWindow): | ||||
|         # creating and filling figure canvas | ||||
|         self.tap.update.connect(self.update_autopicker) | ||||
|         self.tap.figure_tabs.setCurrentIndex(0) | ||||
|         else: | ||||
|             self.update_autopicker() | ||||
|             self.tap.fill_eventbox() | ||||
|         #else: | ||||
|         #    self.update_autopicker() | ||||
|         #    self.tap.fill_eventbox() | ||||
|         self.tap.show() | ||||
| 
 | ||||
|     def update_autopicker(self): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user