summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-08 11:35:35 +0100
committerGitHub <noreply@github.com>2021-03-08 11:35:35 +0100
commitaa6bbdc7a8ca4dc84a6db227ba72519c99ee1036 (patch)
treeab92006c6cb59a050fe1b43b4375c3f02af689f5
parentd52974ba953ff01b3f8199977fbc582f5bcc843e (diff)
parent7bbacb5ff624d72e1e52eb8438724f24bc44e20d (diff)
Merge pull request #46787 from nemerle/fix_animation_track_editor_opt_confirm
Fix incorrectly connected optimize_dialog/confirmed signal in AnimationTrackEditor
-rw-r--r--editor/animation_track_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 934c6b95a4..804f02765c 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -5885,7 +5885,7 @@ AnimationTrackEditor::AnimationTrackEditor() {
optimize_max_angle->set_value(22);
optimize_dialog->get_ok_button()->set_text(TTR("Optimize"));
- optimize_dialog->connect("confirmed", callable_mp(this, &AnimationTrackEditor::_edit_menu_pressed), varray(EDIT_CLEAN_UP_ANIMATION_CONFIRM));
+ optimize_dialog->connect("confirmed", callable_mp(this, &AnimationTrackEditor::_edit_menu_pressed), varray(EDIT_OPTIMIZE_ANIMATION_CONFIRM));
//