summaryrefslogtreecommitdiffstats
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-05-21 22:11:50 +0200
committerkobewi <kobewi4e@gmail.com>2024-05-21 23:28:49 +0200
commite065d7132a8aa6aa4dd73fa6fbf1631cf4d305e5 (patch)
treee55ebb4d6409f70714076ab965f35252843193ab /editor/scene_tree_dock.cpp
parentaaa4560729bf0161deb71789b47eba5623893845 (diff)
downloadredot-engine-e065d7132a8aa6aa4dd73fa6fbf1631cf4d305e5.tar.gz
Remove duplicate shortcut definitions
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 66d26c0a6c..ec0380f964 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -3651,7 +3651,7 @@ void SceneTreeDock::_tree_rmb(const Vector2 &p_menu_pos) {
if (profile_allow_editing) {
menu->add_separator();
- menu->add_icon_shortcut(get_editor_theme_icon(SNAME("Remove")), ED_SHORTCUT("scene_tree/delete", TTR("Delete Node(s)"), Key::KEY_DELETE), TOOL_ERASE);
+ menu->add_icon_shortcut(get_editor_theme_icon(SNAME("Remove")), ED_GET_SHORTCUT("scene_tree/delete"), TOOL_ERASE);
}
menu->reset_size();
menu->set_position(p_menu_pos);