mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	fix(touchbar): errors refreshing touchbar if parent is missing
This commit is contained in:
		
							parent
							
								
									d734ac9e45
								
							
						
					
					
						commit
						d6478c2fed
					
				| @ -65,7 +65,9 @@ export default class EditableCodeTypeWidget extends AbstractCodeTypeWidget { | |||||||
| 
 | 
 | ||||||
|         this.show(); |         this.show(); | ||||||
| 
 | 
 | ||||||
|         this.triggerCommand("refreshTouchBar"); |         if (this.parent) { | ||||||
|  |             this.triggerCommand("refreshTouchBar"); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     getData() { |     getData() { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran