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

FontEditor: Show recently opened files in File menu

And update GlyphEditorWidget on initialize(). Fixes Editor not showing
the new active glyph when loading recent fonts from a menu.
This commit is contained in:
thankyouverycool 2023-05-16 08:39:06 -04:00 committed by Andreas Kling
parent c10b1e3aea
commit 19b8b9d187
3 changed files with 19 additions and 3 deletions

View file

@ -19,6 +19,7 @@ void GlyphEditorWidget::initialize(Gfx::BitmapFont* mutable_font)
if (m_font == mutable_font)
return;
m_font = mutable_font;
update();
}
void GlyphEditorWidget::set_glyph(int glyph)