diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2017-12-28 22:43:53 -0200 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-01-03 13:33:25 -0200 |
commit | a6a2ea7a5e42df6ef78216d2cdf13f0d85b9b664 (patch) | |
tree | e5ee4809a05a526bd9c484ac8f11a0ad59071859 /editor/scene_tree_dock.cpp | |
parent | 2488aff93f93deda27c99cf4811986afeb973438 (diff) |
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(); |