mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
FontEditor: Set GlyphEditor glyph on initialization
Fixes GlyphEditor appearing blank on start and subsequent re-initializations.
This commit is contained in:
parent
8f60ea4470
commit
c094bb60bc
1 changed files with 3 additions and 1 deletions
|
@ -490,8 +490,10 @@ void FontEditorWidget::initialize(String const& path, RefPtr<Gfx::BitmapFont>&&
|
|||
}
|
||||
|
||||
deferred_invoke([this] {
|
||||
auto glyph = m_glyph_map_widget->active_glyph();
|
||||
m_glyph_map_widget->set_focus(true);
|
||||
m_glyph_map_widget->scroll_to_glyph(m_glyph_map_widget->active_glyph());
|
||||
m_glyph_map_widget->scroll_to_glyph(glyph);
|
||||
m_glyph_editor_widget->set_glyph(glyph);
|
||||
update_title();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue