Merge pull request #87419 from KoBeWi/very_important_i
Fix shortcut name consistency in SceneTreeDock
This commit is contained in:
commit
0465027878
|
@ -674,10 +674,10 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
||||||
|
|
||||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||||
if (selection.size() == 1) {
|
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) {
|
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++) {
|
for (int i = 0; i < selection.size(); i++) {
|
||||||
|
@ -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/make_root", TTR("Make Scene Root"));
|
||||||
ED_SHORTCUT("scene_tree/save_branch_as_scene", TTR("Save Branch as Scene"));
|
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/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/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_no_confirm", TTR("Delete (No Confirm)"), KeyModifierMask::SHIFT | Key::KEY_DELETE);
|
||||||
ED_SHORTCUT("scene_tree/delete", TTR("Delete"), Key::KEY_DELETE);
|
ED_SHORTCUT("scene_tree/delete", TTR("Delete"), Key::KEY_DELETE);
|
||||||
|
|
Loading…
Reference in New Issue