fix(command_palette): not showing after re-entering

This commit is contained in:
Elian Doran 2025-07-27 20:31:13 +03:00
parent 757488a95b
commit 82e16a5624
No known key found for this signature in database

View File

@ -176,6 +176,13 @@ export default class JumpToNoteDialog extends BasicWidget {
// Update command mode state based on the restored value
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);
}
}
}
}