mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix(command_palette): not showing after re-entering
This commit is contained in:
		| @@ -176,6 +176,13 @@ export default class JumpToNoteDialog extends BasicWidget { | |||||||
|  |  | ||||||
|                 // Update command mode state based on the restored value |                 // Update command mode state based on the restored value | ||||||
|                 this.updateCommandModeState(); |                 this.updateCommandModeState(); | ||||||
|  |  | ||||||
|  |                 // If we restored a command mode value, manually trigger command display | ||||||
|  |                 if (this.isCommandMode) { | ||||||
|  |                     // Clear the value first, then set it to ">" to trigger a proper change | ||||||
|  |                     this.$autoComplete.autocomplete("val", ""); | ||||||
|  |                     noteAutocompleteService.showAllCommands(this.$autoComplete); | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user