summaryrefslogtreecommitdiff
path: root/Userland/Applications/FontEditor/main.cpp
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2023-05-16 08:39:06 -0400
committerAndreas Kling <kling@serenityos.org>2023-05-17 06:47:57 +0200
commit19b8b9d18714c3534c68c7dc20e83a47888609f2 (patch)
treef95875075307dd9b9a04addd30be1c4319555044 /Userland/Applications/FontEditor/main.cpp
parentc10b1e3aea997d84703d5e2641a371628ca5ca4e (diff)
downloadserenity-19b8b9d18714c3534c68c7dc20e83a47888609f2.zip
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.
Diffstat (limited to 'Userland/Applications/FontEditor/main.cpp')
-rw-r--r--Userland/Applications/FontEditor/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/FontEditor/main.cpp b/Userland/Applications/FontEditor/main.cpp
index 3e04aea161..f19e035ece 100644
--- a/Userland/Applications/FontEditor/main.cpp
+++ b/Userland/Applications/FontEditor/main.cpp
@@ -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();