1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Fix custom types showing on wrong dialogs

* The custom types are visible when the dialog is shown
This commit is contained in:
Franklin Sobrinho
2016-07-10 08:19:15 -03:00
parent ae3d316798
commit c6a0b0dab3
3 changed files with 11 additions and 9 deletions

View File

@@ -243,7 +243,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
//if (!_validate_no_foreign())
// break;
create_dialog->popup_centered_ratio();
create_dialog->popup(true);
} break;
case TOOL_INSTANCE: {
@@ -281,7 +281,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
} break;
case TOOL_REPLACE: {
create_dialog->popup_centered_ratio();
create_dialog->popup(false);
} break;
case TOOL_CONNECT: {