summaryrefslogtreecommitdiff
path: root/tools/editor/editor_reimport_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/editor_reimport_dialog.cpp')
-rw-r--r--tools/editor/editor_reimport_dialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/editor_reimport_dialog.cpp b/tools/editor/editor_reimport_dialog.cpp
index 034ac58a8e..8842a485b3 100644
--- a/tools/editor/editor_reimport_dialog.cpp
+++ b/tools/editor/editor_reimport_dialog.cpp
@@ -5,7 +5,7 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -33,7 +33,7 @@ void EditorReImportDialog::popup_reimport() {
if (EditorFileSystem::get_singleton()->is_scanning()) {
error->set_text("Please wait for scan to complete");
- error->popup_centered(Size2(250,100));
+ error->popup_centered_minsize();
return;
}
@@ -70,7 +70,7 @@ void EditorReImportDialog::popup_reimport() {
if (EditorNode::get_singleton()->get_edited_scene() && EditorNode::get_singleton()->get_edited_scene()->get_filename()=="") {
error->set_text("Current scene must be saved to re-import.");
- error->popup_centered(Size2(250,100));
+ error->popup_centered_minsize();
get_ok()->set_text("Re-Import");
get_ok()->set_disabled(true);
return;
@@ -93,7 +93,7 @@ void EditorReImportDialog::ok_pressed() {
if (EditorFileSystem::get_singleton()->is_scanning()) {
error->set_text("Please wait for scan to complete");
- error->popup_centered(Size2(250,100));
+ error->popup_centered_minsize();
return;
}