PDFViewer: Add separator before quit menu action

This commit is contained in:
Linus Groh 2021-05-27 18:09:37 +01:00
commit cde5107f3d
Notes: sideshowbarker 2024-07-18 17:18:26 +09:00

View file

@ -39,6 +39,7 @@ void PDFViewerWidget::initialize_menubar(GUI::Menubar& menubar)
if (open_path.has_value())
open_file(open_path.value());
}));
file_menu.add_separator();
file_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
GUI::Application::the()->quit();
}));