GUI: fix adding orders
This commit is contained in:
parent
9fc3a8afed
commit
c90152b425
2 changed files with 3 additions and 1 deletions
|
|
@ -3625,7 +3625,8 @@ void DivEngine::addOrder(int pos, bool duplicate, bool where) {
|
|||
}
|
||||
curSubSong->ordersLen++;
|
||||
saveLock.unlock();
|
||||
if (pos<=curOrder) curOrder++;
|
||||
curOrder=pos+1;
|
||||
prevOrder=curOrder;
|
||||
if (playing && !freelance) {
|
||||
playSub(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue