1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38: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

@ -21,6 +21,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio recvfd sendfd thread rpath unix cpath wpath"));
auto app = TRY(GUI::Application::create(arguments));
app->set_config_domain(TRY("FontEditor"_string));
FontEditor::g_resources = FontEditor::Resources::create();