Skip to content

Commit fddcae6

Browse files
authored
Merge pull request #27782 from mike-spa/fixCrashOnSetOrnamentStyle
Fix crash on set ornament style to always show cue note
2 parents 7525f35 + c9fbc49 commit fddcae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/engraving/dom/ornament.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ bool Ornament::hasFullIntervalChoice() const
237237
bool Ornament::showCueNote()
238238
{
239239
if (m_showCueNote == AutoOnOff::AUTO) {
240-
return style().styleB(Sid::trillAlwaysShowCueNote) || _intervalAbove.step != IntervalStep::SECOND;
240+
return (hasFullIntervalChoice() && style().styleB(Sid::trillAlwaysShowCueNote)) || _intervalAbove.step != IntervalStep::SECOND;
241241
}
242242

243243
return m_showCueNote == AutoOnOff::ON;

0 commit comments

Comments
 (0)