mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 07:07:36 +00:00
PDFViewer: Add separator before quit menu action
This commit is contained in:
parent
209bfbaaa4
commit
cde5107f3d
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue