1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 01:48:11 +00:00

Handle WindowCloseRequest in FontEditor and /bin/guitest.

This commit is contained in:
Andreas Kling 2019-02-05 12:07:06 +01:00
parent 0a183df655
commit 3accdb0e93
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@ int main(int argc, char** argv)
auto* font_editor = new FontEditorWidget(path, move(edited_font));
font_editor->set_relative_rect({ 0, 0, 420, 200 });
window->set_main_widget(font_editor);
window->set_should_exit_app_on_close(true);
window->show();
return loop.exec();
}