Skip to content

Fix crash on enter hairpins#31720

Merged
mike-spa merged 1 commit intomusescore:masterfrom
mike-spa:fixCrashOnEnterHairpins
Jan 12, 2026
Merged

Fix crash on enter hairpins#31720
mike-spa merged 1 commit intomusescore:masterfrom
mike-spa:fixCrashOnEnterHairpins

Conversation

@mike-spa
Copy link
Contributor

@mike-spa mike-spa commented Jan 9, 2026

Resolves: #31542

@zacjansheski
Copy link
Contributor

Tested on MacOS 15, Windows 11, Ubuntu 22.04.3. Approved
#31542 FIXED

Comment on lines +4303 to +4309
if (type == HairpinType::CRESC_LINE) {
hairpin->setBeginText(u"cresc.");
hairpin->setContinueText(u"(cresc.)");
} else if (type == HairpinType::DIM_LINE) {
hairpin->setBeginText(u"dim.");
hairpin->setContinueText(u"(dim.)");
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed at all? If it is, the text should be set based on style values

@mike-spa mike-spa force-pushed the fixCrashOnEnterHairpins branch from 325762b to 3661eb4 Compare January 12, 2026 08:12
@mike-spa mike-spa merged commit 048cdb4 into musescore:master Jan 12, 2026
12 checks passed
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.

Hairpin Crash Bug

4 participants