Skip to content

Commit

Permalink
enable copy paste of same time signature if groups are different
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jul 23, 2014
1 parent ef37eeb commit 04d2ec7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libmscore/edit.cpp
Expand Up @@ -520,7 +520,8 @@ void Score::cmdAddTimeSig(Measure* fm, int staffIdx, TimeSig* ts, bool local)
//
if ((ots->timeSigType() == ts->timeSigType())
&& (ots->sig().identical(ts->sig()))
&& (ots->stretch() == ts->stretch())) {
&& (ots->stretch() == ts->stretch())
&& ots->groups() == ts->groups()) {
delete ts;
return;
}
Expand All @@ -545,6 +546,7 @@ void Score::cmdAddTimeSig(Measure* fm, int staffIdx, TimeSig* ts, bool local)
undoChangeProperty(m, P_ID::TIMESIG_NOMINAL, QVariant::fromValue(ns));
if (changeActual)
undoChangeProperty(m, P_ID::TIMESIG_ACTUAL, QVariant::fromValue(ns));
undoChangeProperty(ots, P_ID::GROUPS, QVariant::fromValue(ts->groups()));
}
}
int n = nstaves();
Expand Down

0 comments on commit 04d2ec7

Please sign in to comment.