GUI: fix paste not updating sel if cursor moves
This commit is contained in:
parent
66234df636
commit
a73ccdae41
|
@ -565,6 +565,8 @@ void FurnaceGUI::doPaste(PasteMode mode, int arg) {
|
||||||
if (settings.cursorPastePos) {
|
if (settings.cursorPastePos) {
|
||||||
cursor.y=j;
|
cursor.y=j;
|
||||||
if (cursor.y>=e->curSubSong->patLen) cursor.y=e->curSubSong->patLen-1;
|
if (cursor.y>=e->curSubSong->patLen) cursor.y=e->curSubSong->patLen-1;
|
||||||
|
selStart=cursor;
|
||||||
|
selEnd=cursor;
|
||||||
updateScroll(cursor.y);
|
updateScroll(cursor.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue