mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +02:00
fix(command_palette): not showing after re-entering
This commit is contained in:
parent
757488a95b
commit
82e16a5624
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user