summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-07-08 01:29:09 +0200
committerGitHub <noreply@github.com>2021-07-08 01:29:09 +0200
commit5db1f8b1abab2d6b8720afeb0bd346e8428e099f (patch)
tree0eb24806f7f1303184658b3270364f3f8bf8999d /editor
parent47e5fed48530c6361923ec79bd5a427218ff6b2a (diff)
parent36434cb2e62e024d0b156ff59a7206d7108531e8 (diff)
Merge pull request #50268 from KoBeWi/🐞
Fix node list with Add Node Here
Diffstat (limited to 'editor')
-rw-r--r--editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index e91a88ba7a..3f66f1f375 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;
}