Skip to content

Commit

Permalink
Merge pull request #87419 from KoBeWi/very_important_i
Browse files Browse the repository at this point in the history
Fix shortcut name consistency in SceneTreeDock
  • Loading branch information
akien-mga committed Feb 3, 2024
2 parents 8b0c5f2 + a2c2caa commit 0465027
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions editor/scene_tree_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,10 +674,10 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {

EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
if (selection.size() == 1) {
undo_redo->create_action(TTR("Move Node In Parent"));
undo_redo->create_action(TTR("Move Node in Parent"));
}
if (selection.size() > 1) {
undo_redo->create_action(TTR("Move Nodes In Parent"));
undo_redo->create_action(TTR("Move Nodes in Parent"));
}

for (int i = 0; i < selection.size(); i++) {
Expand Down Expand Up @@ -4134,7 +4134,7 @@ SceneTreeDock::SceneTreeDock(Node *p_scene_root, EditorSelection *p_editor_selec
ED_SHORTCUT("scene_tree/make_root", TTR("Make Scene Root"));
ED_SHORTCUT("scene_tree/save_branch_as_scene", TTR("Save Branch as Scene"));
ED_SHORTCUT("scene_tree/copy_node_path", TTR("Copy Node Path"), KeyModifierMask::CMD_OR_CTRL | KeyModifierMask::SHIFT | Key::C);
ED_SHORTCUT("scene_tree/show_in_file_system", TTR("Show In FileSystem"));
ED_SHORTCUT("scene_tree/show_in_file_system", TTR("Show in FileSystem"));
ED_SHORTCUT("scene_tree/toggle_unique_name", TTR("Toggle Access as Unique Name"));
ED_SHORTCUT("scene_tree/delete_no_confirm", TTR("Delete (No Confirm)"), KeyModifierMask::SHIFT | Key::KEY_DELETE);
ED_SHORTCUT("scene_tree/delete", TTR("Delete"), Key::KEY_DELETE);
Expand Down

0 comments on commit 0465027

Please sign in to comment.