Skip to content

Commit

Permalink
Merge pull request #50268 from KoBeWi/🐞
Browse files Browse the repository at this point in the history
Fix node list with Add Node Here
  • Loading branch information
akien-mga authored Jul 7, 2021
2 parents 47e5fed + 36434cb commit 5db1f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/scene_tree_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5db1f8b

Please sign in to comment.