From 36434cb2e62e024d0b156ff59a7206d7108531e8 Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 8 Jul 2021 00:52:49 +0200 Subject: [PATCH] Fix node list with Add Node Here --- editor/scene_tree_dock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index e91a88ba7ac..3f66f1f3750 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -359,7 +359,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { break; } - if (reset_create_dialog) { + if (reset_create_dialog && !p_confirm_override) { create_dialog->set_base_type("Node"); reset_create_dialog = false; }