summaryrefslogtreecommitdiffstats
path: root/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-03 15:42:50 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-03 15:42:50 +0100
commit54b83bd7058efa103e7fbce9dbeed24cd70542bf (patch)
treebe9686e2f9701cd1afa813f4f2156a03b42b74ad /editor/plugins/canvas_item_editor_plugin.cpp
parent9a7207928a35a445858c4df366567fdd4be2f0b4 (diff)
parent9a684cf199e71edb9fb48bd9d3a2560fc5ed232b (diff)
downloadredot-engine-54b83bd7058efa103e7fbce9dbeed24cd70542bf.tar.gz
Merge pull request #84788 from Cerno-b/fix-description-text-for-grouping
Clarify description of "group selected"
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index bac2a4909f..3676d1165a 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -5323,7 +5323,7 @@ CanvasItemEditor::CanvasItemEditor() {
group_button->set_theme_type_variation("FlatButton");
main_menu_hbox->add_child(group_button);
group_button->connect("pressed", callable_mp(this, &CanvasItemEditor::_popup_callback).bind(GROUP_SELECTED));
- group_button->set_tooltip_text(TTR("Make selected node's children not selectable."));
+ group_button->set_tooltip_text(TTR("Groups the selected node with its children. This causes the parent to be selected when any child node is clicked in 2D and 3D view."));
// Define the shortcut globally (without a context) so that it works if the Scene tree dock is currently focused.
group_button->set_shortcut(ED_SHORTCUT("editor/group_selected_nodes", TTR("Group Selected Node(s)"), KeyModifierMask::CMD_OR_CTRL | Key::G));
@@ -5331,7 +5331,7 @@ CanvasItemEditor::CanvasItemEditor() {
ungroup_button->set_theme_type_variation("FlatButton");
main_menu_hbox->add_child(ungroup_button);
ungroup_button->connect("pressed", callable_mp(this, &CanvasItemEditor::_popup_callback).bind(UNGROUP_SELECTED));
- ungroup_button->set_tooltip_text(TTR("Make selected node's children selectable."));
+ ungroup_button->set_tooltip_text(TTR("Ungroups the selected node from its children. Child nodes will be individual items in 2D and 3D view."));
// Define the shortcut globally (without a context) so that it works if the Scene tree dock is currently focused.
ungroup_button->set_shortcut(ED_SHORTCUT("editor/ungroup_selected_nodes", TTR("Ungroup Selected Node(s)"), KeyModifierMask::CMD_OR_CTRL | KeyModifierMask::SHIFT | Key::G));