Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #303403: play repeats button doesn't reflect stored settings #5900

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Apr 4, 2020

Fixes https://musescore.org/en/node/303403 (and came up in https://musescore.org/en/node/303316#comment-989518)

While at it fix the same bug for the pan button too (which just came up in https://musescore.org/en/node/303874#comment-992514)

Not sure why I didn't notice those 2 bugs and fixed along with #5378

@Jojo-Schmitz Jojo-Schmitz force-pushed the play-repeats branch 2 times, most recently from 52314fb to 3a3f320 Compare April 5, 2020 09:57
while at it fix the same bug for the pan button too, and, with that now
working, remove the corresponding entries from the advanced prerefences
@Jojo-Schmitz Jojo-Schmitz changed the title fix #303316: play repeats button doesn't reflect stored settings fix #303403: play repeats button doesn't reflect stored settings Apr 5, 2020
@@ -445,7 +445,7 @@ void MuseScore::preferencesChanged(bool fromWorkspace)
{
updateExternalValuesFromPreferences();

setPlayRepeats(MScore::playRepeats);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you decide to remove the call of all other operations included to this method, and left only the checked state setter?
Isn't the call of setPlayRepeats necessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem to be as per my testing

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Soerboe added this code for some reason... 064156c

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, but it didn't work, not for showing the current real status

@anatoly-os anatoly-os merged commit ca0ca62 into musescore:master Apr 21, 2020
@Jojo-Schmitz Jojo-Schmitz deleted the play-repeats branch April 21, 2020 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants