mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:55:08 +00:00
TextEditor: Move the Font menu inside the View menu
This will be our first user of the nested menus feature. :^)
This commit is contained in:
parent
63e6b09816
commit
72950f93a3
1 changed files with 2 additions and 1 deletions
|
@ -198,10 +198,11 @@ TextEditorWidget::TextEditorWidget()
|
|||
m_editor->update();
|
||||
}));
|
||||
});
|
||||
menubar->add_menu(move(font_menu));
|
||||
|
||||
auto view_menu = make<GMenu>("View");
|
||||
view_menu->add_action(*m_line_wrapping_setting_action);
|
||||
view_menu->add_separator();
|
||||
view_menu->add_submenu(move(font_menu));
|
||||
menubar->add_menu(move(view_menu));
|
||||
|
||||
auto help_menu = make<GMenu>("Help");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue