GUI: editAdvance fixes

This commit is contained in:
tildearrow 2025-07-19 04:59:32 -05:00
parent ccd4ece09c
commit 1c1bc0ed06
2 changed files with 6 additions and 6 deletions

View file

@ -2040,6 +2040,8 @@ void FurnaceGUI::moveSelected(int x, int y) {
selStartOld=selStart;
selEndOld=selEnd;
prepareUndo(GUI_UNDO_PATTERN_DRAG);
// move selection
DETERMINE_FIRST_LAST;
@ -2121,8 +2123,6 @@ void FurnaceGUI::moveSelected(int x, int y) {
return;
}
prepareUndo(GUI_UNDO_PATTERN_DRAG);
// copy and clear
String c=doCopy(true,false,selStart,selEnd);