1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

FontEditor: Update status bar on initialization

Fixes incorrect glyph status immediately after loading a new font.
This commit is contained in:
thankyouverycool 2021-11-29 10:11:51 -05:00 committed by Andreas Kling
parent ae922c67fd
commit aa09e40eb2

View file

@ -552,6 +552,8 @@ void FontEditorWidget::initialize(const String& path, RefPtr<Gfx::BitmapFont>&&
m_undo_action->set_enabled(false);
m_redo_action->set_enabled(false);
update_statusbar();
if (on_initialize)
on_initialize();
}