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

@ -2494,7 +2494,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
#endif
case RESOURCE_NEW: {
create_dialog->popup_centered_ratio();
create_dialog->popup(true);
} break;
case RESOURCE_LOAD: {