diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-04 01:08:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 01:08:47 +0100 |
commit | e68965672df8e06a1a6c977d3426b001a0767a9a (patch) | |
tree | 7f8aed38cc10ebc912cffc21369a032ddc369407 /editor/scene_tree_dock.cpp | |
parent | 72d3c474b0785d90897cfe566ec8a3d76121b1a5 (diff) | |
parent | a6a2ea7a5e42df6ef78216d2cdf13f0d85b9b664 (diff) |
Merge pull request #15135 from YeldhamDev/change_node_dialog
Made the Create Dialog be clearer when it's changing a type of something
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r-- | editor/scene_tree_dock.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 7e8a6fcb6d..e7da78a35c 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -307,7 +307,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { } break; case TOOL_REPLACE: { - create_dialog->popup_create(false); + create_dialog->popup_create(false, true); } break; case TOOL_ATTACH_SCRIPT: { @@ -417,7 +417,6 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { if (editor_selection->is_selected(edited_scene)) { current_option = -1; - //accept->get_cancel()->hide(); accept->get_ok()->set_text(TTR("I see..")); accept->set_text(TTR("This operation can't be done on the tree root.")); accept->popup_centered_minsize(); |