aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-09 00:31:07 -0300
committerJuan Linietsky2015-04-09 00:31:07 -0300
commitb967bb73c265904005957cb02148ccc7d53e6d8f (patch)
treeea501bdd391825986fcf09d163446d4de95f5701 /tools/editor/plugins/script_editor_plugin.cpp
parentd148a0384821a05f8714099cf00e1b521643a2ad (diff)
parentdd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6 (diff)
downloadgodot-b967bb73c265904005957cb02148ccc7d53e6d8f.tar.gz
godot-b967bb73c265904005957cb02148ccc7d53e6d8f.tar.zst
godot-b967bb73c265904005957cb02148ccc7d53e6d8f.zip
Merge branch 'master' of https://github.com/okamstudio/godot
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();
}