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 #309754: Create Time Signatures dialogue doesn't need to add special text whenever the internal value of nominator or denominator is changed #6507

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

Harmoniker1
Copy link
Contributor

@Harmoniker1 Harmoniker1 commented Aug 28, 2020

Resolves: https://musescore.org/node/309754.

Special texts are useful just because they can be different from the internal values. There's no need of updating them if the internal values are changed, because they are either blank (and are most likely wished to still be blank, because then they won't affect the layout of the internal values for the time signature) or different from the original values (and are most likely wished to still be different, because if not, there's no point of having them).

See more in https://musescore.org/node/308139#comment-1022250.

@MarcSabatella
Copy link
Contributor

I agree with the proposed change, but it does t address the issue linked, it resolves a different (related) issue not yet reported. So I’d suggested submitting that issue (involving dialog behavior) separately and amending the commit message here to refer to that instead. And then see about a fix for the much more critical regresssion originally reported.

@Harmoniker1 Harmoniker1 changed the title fix #308139: Create Time Signatures dialogue doesn't need to add special text whenever the internal value of nominator or denominator is changed fix #309754: Create Time Signatures dialogue doesn't need to add special text whenever the internal value of nominator or denominator is changed Aug 28, 2020
…al text whenever the internal value of nominator or denominator is changed

Special texts are useful just because they can be different from the internal values. There's no need of updating them if the internal values are changed, because they are either blank (and are most likely wished to still be blank, because then they won't affect the layout of the internal values for the time signature) or different from the original values (and are most likely wished to still be different, because if not, there's no point of having them).

See more in https://musescore.org/node/308139#comment-1022250.
@anatoly-os anatoly-os merged commit fe89e74 into musescore:3.x Sep 1, 2020
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 2, 2020
@@ -127,7 +127,6 @@ void TimeDialog::save()

void TimeDialog::zChanged(int val)
{
zText->setText(QString("%1").arg(val));
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz Sep 2, 2020

Choose a reason for hiding this comment

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

Causes a compiler warning due to val no longer getting used. See #6525 and #6527

anatoly-os added a commit that referenced this pull request Sep 2, 2020
@Jojo-Schmitz Jojo-Schmitz mentioned this pull request Sep 2, 2020
30 tasks
@Harmoniker1 Harmoniker1 deleted the time_signature branch September 8, 2020 09:04
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.

4 participants