Skip to content

Commit

Permalink
Change frame color with text color
Browse files Browse the repository at this point in the history
Backport of musescore#25508
  • Loading branch information
XiaoMigros authored and Jojo-Schmitz committed Nov 14, 2024
1 parent 69efa78 commit 553ac59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libmscore/textbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2819,6 +2819,11 @@ bool TextBase::setProperty(Pid pid, const QVariant& v)
genText();
bool rv = true;
switch (pid) {
case Pid::COLOR:
if (color() == frameColor())
setFrameColor(v.value<QColor>());
Element::setProperty(pid, v);
break;
case Pid::SUB_STYLE:
initTid(Tid(v.toInt()));
break;
Expand Down

0 comments on commit 553ac59

Please sign in to comment.