diff options
| author | Juan Linietsky | 2015-04-09 00:31:07 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-04-09 00:31:07 -0300 |
| commit | b967bb73c265904005957cb02148ccc7d53e6d8f (patch) | |
| tree | ea501bdd391825986fcf09d163446d4de95f5701 /tools/editor/plugins/animation_player_editor_plugin.cpp | |
| parent | d148a0384821a05f8714099cf00e1b521643a2ad (diff) | |
| parent | dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6 (diff) | |
| download | godot-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/animation_player_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/animation_player_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/animation_player_editor_plugin.cpp b/tools/editor/plugins/animation_player_editor_plugin.cpp index f706d67f6..2e6947b52 100644 --- a/tools/editor/plugins/animation_player_editor_plugin.cpp +++ b/tools/editor/plugins/animation_player_editor_plugin.cpp @@ -336,7 +336,7 @@ void AnimationPlayerEditor::_animation_name_edited() { String new_name = name->get_text(); if (new_name=="" || new_name.find(":")!=-1 || new_name.find("/")!=-1) { error_dialog->set_text("ERROR: Invalid animation name!"); - error_dialog->popup_centered(Size2(300,70)); + error_dialog->popup_centered_minsize(); return; } @@ -347,7 +347,7 @@ void AnimationPlayerEditor::_animation_name_edited() { if (player->has_animation(new_name)) { error_dialog->set_text("ERROR: Animation Name Already Exists!"); - error_dialog->popup_centered(Size2(300,70)); + error_dialog->popup_centered_minsize(); return; } |
