mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix crash on paste in middle of single property song
This commit is contained in:
parent
1011966cfd
commit
db8433dfe1
|
@ -1942,7 +1942,7 @@ void VLSong::PasteMeasures(size_t beginMeasure, const VLSong & measures, int mod
|
||||||
++beginProp;
|
++beginProp;
|
||||||
else
|
else
|
||||||
++propOffset;
|
++propOffset;
|
||||||
if (fProperties[propAt] == endProp[-1])
|
if (endProp > beginProp && fProperties[propAt] == endProp[-1])
|
||||||
--endProp;
|
--endProp;
|
||||||
}
|
}
|
||||||
int postOffset = endProp - beginProp;
|
int postOffset = endProp - beginProp;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user