Skip to content

Commit

Permalink
fix #51341: changing to a 'compatible' timesig behaves as if being a …
Browse files Browse the repository at this point in the history
…local time sig
  • Loading branch information
lasconic committed Mar 19, 2015
1 parent 36b4f4f commit df0d65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ void Score::cmdAddTimeSig(Measure* fm, int staffIdx, TimeSig* ts, bool local)
}


if (ots && ots->sig() == ns && ots->stretch() == ts->stretch()) {
if (ots && ots->sig().identical(ns) && ots->stretch() == ts->stretch()) {
ots->undoChangeProperty(P_ID::TIMESIG, QVariant::fromValue(ns));
ots->undoChangeProperty(P_ID::GROUPS, QVariant::fromValue(ts->groups()));
if (ts->hasCustomText()) {
Expand Down

0 comments on commit df0d65c

Please sign in to comment.