summaryrefslogtreecommitdiff
path: root/tools/editor/property_editor.cpp
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2015-04-08 14:02:13 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2015-04-08 14:02:13 -0300
commit59692d9012a320014366d3dcecac645a64a4d5f2 (patch)
tree768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/property_editor.cpp
parente18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff)
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/property_editor.cpp')
-rw-r--r--tools/editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index 3fd713c5b0..09643c95dc 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -766,7 +766,7 @@ void CustomPropertyEditor::_file_selected(String p_file) {
RES res = ResourceLoader::load(p_file,type);
if (res.is_null()) {
error->set_text("Error loading file: Not a resource!");
- error->popup_centered(Size2(300,80));
+ error->popup_centered_minsize();
break;
}
v=res.get_ref_ptr();