mirror of
https://github.com/microtherion/VocalEasel.git
synced 2025-05-03 19:54:29 +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;
|
||||
else
|
||||
++propOffset;
|
||||
if (fProperties[propAt] == endProp[-1])
|
||||
if (endProp > beginProp && fProperties[propAt] == endProp[-1])
|
||||
--endProp;
|
||||
}
|
||||
int postOffset = endProp - beginProp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user