mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibGUI: Add and use TextEditor::hide_autocomplete()
There were cases where the autocomplete box was being hidden but the autocomplete timer wasn't being cancelled.
This commit is contained in:
parent
81f00c0aa8
commit
352f593958
2 changed files with 14 additions and 7 deletions
|
@ -282,6 +282,7 @@ private:
|
|||
void try_update_autocomplete(Function<void()> callback = {});
|
||||
void force_update_autocomplete(Function<void()> callback = {});
|
||||
void hide_autocomplete_if_needed();
|
||||
void hide_autocomplete();
|
||||
|
||||
int icon_size() const { return 16; }
|
||||
int icon_padding() const { return 2; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue