1
Fork 0
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:
Itamar 2021-07-18 14:19:50 +03:00 committed by Andreas Kling
parent 4a7be3f81c
commit 941087ee25

View file

@ -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); }