Skip to content

Commit

Permalink
Don't show empty Inspector
Browse files Browse the repository at this point in the history
for tremolos between notes if on tablature or not on half notes.
Also disable Inspector for system- and page breaks
  • Loading branch information
Jojo-Schmitz committed Dec 12, 2020
1 parent ad71d3b commit 5c367c4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mscore/inspector/inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,17 @@ void Inspector::update(Score* s)
case ElementType::LAYOUT_BREAK:
if (toLayoutBreak(element())->layoutBreakType() == LayoutBreak::Type::SECTION)
ie = new InspectorSectionBreak(this);
else
ie = new InspectorBreak(this);
//else
// ie = new InspectorBreak(this); // currently enpty and such not needed
break;
case ElementType::BEND:
ie = new InspectorBend(this);
break;
case ElementType::TREMOLO:
ie = new InspectorTremolo(this);
if (toTremolo(element())->customStyleApplicable())
ie = new InspectorTremolo(this);
else
ie = new InspectorElement(this);
break;
case ElementType::TREMOLOBAR:
ie = new InspectorTremoloBar(this);
Expand Down

0 comments on commit 5c367c4

Please sign in to comment.