summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorUmang Kalra <umangkalra10@gmail.com>2022-08-16 22:57:28 +0530
committerUmang Kalra <umangkalra10@gmail.com>2022-08-20 22:53:07 +0530
commit7ef5dfcfc3e3fd208565906e19d87d4260bfb517 (patch)
treead831e0b8a17e834c154df5f136644ec037855f0 /editor/scene_tree_dock.cpp
parent0c5f254956f0115e363ce08045dd178dc30b54f8 (diff)
Changed the title of change node type dialog
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 0f4f3dcfcf..f0884a4a91 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -510,9 +510,8 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
}
if (selected) {
- create_dialog->popup_create(false, true, selected->get_class());
+ create_dialog->popup_create(false, true, selected->get_class(), selected->get_name());
}
-
} break;
case TOOL_EXTEND_SCRIPT: {
attach_script_to_selected(true);