mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
FileManager: Set the default menu item in desktop context menus
This makes the "Run TextEditor" action show up in bold text as expected when opening the context menu for TextEditor on the desktop. :^)
This commit is contained in:
parent
7b9754d976
commit
ec1a72b759
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ int run_in_desktop_mode([[maybe_unused]] RefPtr<Core::ConfigFile> config)
|
|||
file_context_menu->add_separator();
|
||||
|
||||
file_context_menu->add_action(properties_action);
|
||||
file_context_menu->popup(event.screen_position());
|
||||
file_context_menu->popup(event.screen_position(), file_context_menu_action_default_action);
|
||||
}
|
||||
} else {
|
||||
desktop_view_context_menu->popup(event.screen_position());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue