fix: autocompleteMaxVisible setting not persisting
Missing markModified() call caused the setting to be lost on reload.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user