Merge pull request #46787 from nemerle/fix_animation_track_editor_opt_confirm

Fix incorrectly connected optimize_dialog/confirmed signal in AnimationTrackEditor
This commit is contained in:
Rémi Verschelde 2021-03-08 11:35:35 +01:00 committed by GitHub
commit aa6bbdc7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
//