mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 12:03:49 +00:00
fix: autocompleteMaxVisible setting not persisting
Missing markModified() call caused the setting to be lost on reload.
This commit is contained in:
parent
bea3ab637f
commit
2ad4825653
1 changed files with 1 additions and 0 deletions
|
|
@ -680,6 +680,7 @@ export class SettingsManager {
|
|||
|
||||
setAutocompleteMaxVisible(maxVisible: number): void {
|
||||
this.globalSettings.autocompleteMaxVisible = Math.max(3, Math.min(20, Math.floor(maxVisible)));
|
||||
this.markModified("autocompleteMaxVisible");
|
||||
this.save();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue