mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibGUI: Call did_update() from AutocompleteSuggestionModel::update()
This fixes an issue where the column widths of the AutocompleteBox did not properly update after update_suggestions() was called.
This commit is contained in:
parent
4a7be3f81c
commit
941087ee25
1 changed files with 4 additions and 1 deletions
|
@ -69,7 +69,10 @@ public:
|
|||
|
||||
return {};
|
||||
}
|
||||
virtual void update() override {};
|
||||
virtual void update() override
|
||||
{
|
||||
did_update();
|
||||
};
|
||||
|
||||
void set_suggestions(Vector<AutocompleteProvider::Entry>&& suggestions) { m_suggestions = move(suggestions); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue