mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 23:04:58 +00:00
GMenu: Update apps now that you can create a nameless GMenu
We had many context menus with names, simply because you were forced to give them names.
This commit is contained in:
parent
5eb2c138e2
commit
11f2e7cd5c
7 changed files with 7 additions and 7 deletions
|
@ -1203,7 +1203,7 @@ void GTextEditor::did_update_selection()
|
|||
void GTextEditor::context_menu_event(GContextMenuEvent& event)
|
||||
{
|
||||
if (!m_context_menu) {
|
||||
m_context_menu = make<GMenu>("GTextEditor context menu");
|
||||
m_context_menu = make<GMenu>();
|
||||
m_context_menu->add_action(undo_action());
|
||||
m_context_menu->add_action(redo_action());
|
||||
m_context_menu->add_separator();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue