aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorFranklin Sobrinho2015-04-08 14:02:13 -0300
committerFranklin Sobrinho2015-04-08 14:02:13 -0300
commit59692d9012a320014366d3dcecac645a64a4d5f2 (patch)
tree768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/plugins/script_editor_plugin.cpp
parente18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff)
downloadgodot-59692d9012a320014366d3dcecac645a64a4d5f2.tar.gz
godot-59692d9012a320014366d3dcecac645a64a4d5f2.tar.zst
godot-59692d9012a320014366d3dcecac645a64a4d5f2.zip
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 72b3025f2..7291b1217 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -1041,7 +1041,7 @@ void ScriptEditor::_menu_option(int p_option) {
case WINDOW_CLOSE: {
if (current->get_text_edit()->get_version()!=current->get_text_edit()->get_saved_version()) {
erase_tab_confirm->set_text("Close and save changes?\n\""+current->get_name()+"\"");
- erase_tab_confirm->popup_centered(Point2(250,80));
+ erase_tab_confirm->popup_centered_minsize();
} else {
_close_current_tab();
}