GUI: improve drag-and-drop, part 4

This commit is contained in:
tildearrow 2023-01-31 03:25:27 -05:00
parent d1d92ac018
commit 1a3648eefd
2 changed files with 3 additions and 1 deletions

View file

@ -947,6 +947,8 @@ void FurnaceGUI::doDrag() {
// copy and clear
String c=doCopy(true,false,dragStart,dragEnd);
logV("copy: %s",c);
// replace
cursor=selStart;
doPaste(GUI_PASTE_MODE_NORMAL,0,false,c);