Skip to content

Commit

Permalink
Merge pull request #4454 from Jojo-Schmitz/steminspector
Browse files Browse the repository at this point in the history
fix #280330: Headings of Stem, Bracket and Instrument Name Inspectors
  • Loading branch information
anatoly-os committed Dec 21, 2018
2 parents 295ffe8 + 2041a03 commit d2e94d0
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 @@ -969,7 +969,8 @@ InspectorStem::InspectorStem(QWidget* parent)
{ Pid::LINE_WIDTH, 0, s.lineWidth, s.resetLineWidth },
{ Pid::USER_LEN, 0, s.userLength, s.resetUserLength },
};
mapSignals(iiList);
const std::vector<InspectorPanel> ppList = { { s.title, s.panel } };
mapSignals(iiList, ppList);
}

//---------------------------------------------------------
Expand Down Expand Up @@ -1160,7 +1161,8 @@ InspectorBracket::InspectorBracket(QWidget* parent) : InspectorBase(parent)
const std::vector<InspectorItem> il = {
{ Pid::BRACKET_COLUMN, 0, b.column, b.resetColumn }
};
mapSignals(il);
const std::vector<InspectorPanel> ppList = { { b.title, b.panel } };
mapSignals(il, ppList);
}

//---------------------------------------------------------
Expand All @@ -1174,7 +1176,8 @@ InspectorIname::InspectorIname(QWidget* parent) : InspectorTextBase(parent)
const std::vector<InspectorItem> il = {
{ Pid::INAME_LAYOUT_POSITION, 0, i.layoutPosition, i.resetLayoutPosition }
};
mapSignals(il);
const std::vector<InspectorPanel> ppList = { { i.title, i.panel } };
mapSignals(il, ppList);
}

}
Expand Down

0 comments on commit d2e94d0

Please sign in to comment.