Skip to content

Commit

Permalink
fix #280657 trig layout when set meas rest offset
Browse files Browse the repository at this point in the history
manually merged changes from #4493
  • Loading branch information
anatoly-os committed Apr 10, 2019
1 parent 21962a1 commit 73a0a3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/rest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,8 @@ bool Rest::setProperty(Pid propertyId, const QVariant& v)
setOffset(v.toPointF());
layout();
score()->addRefresh(canvasBoundingRect());
if (measure() && durationType().type() == TDuration::DurationType::V_MEASURE)
measure()->triggerLayout();
score()->setLayout(tick());
break;
default:
Expand Down

0 comments on commit 73a0a3c

Please sign in to comment.