diff --git a/OneMore/UI/MoreAutoCompleteList.cs b/OneMore/UI/MoreAutoCompleteList.cs index 4b8c3f2fa3..b2ef056016 100644 --- a/OneMore/UI/MoreAutoCompleteList.cs +++ b/OneMore/UI/MoreAutoCompleteList.cs @@ -238,6 +238,7 @@ public void SetAutoCompleteList(Control control) /// Optional list of recently used command names public void LoadCommands(IEnumerable names, IEnumerable recentNames = null) { + SuspendLayout(); Items.Clear(); commands.Clear(); matches.Clear(); @@ -297,6 +298,9 @@ public void LoadCommands(IEnumerable names, IEnumerable recentNa { Items[0].Selected = true; } + + Invalidate(); + ResumeLayout(); } #endregion public SetAutoCompleteList and LoadCommands