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
commit aa09e40eb2
Notes: sideshowbarker 2024-07-17 23:20:46 +09:00

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