Disable clipboard restore, after moving a file

This commit is contained in:
RocketRobz 2018-10-08 15:45:25 -06:00
parent 6680dc0c18
commit e762497fba

View File

@ -329,6 +329,7 @@ bool fileBrowse_paste(char path[PATH_MAX]) {
fcopy(clipboard, destPath); // Copy file to destination, since renaming won't work
remove(clipboard); // Delete source file after copying
}
clipboardUsed = false; // Disable clipboard restore
}
clipboardOn = false; // Clear clipboard after copying or moving
return true;