This commit is contained in:
Kovid Goyal 2026-05-05 14:53:08 +05:30
parent 898599ff14
commit 9a3f3ed14e
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -449,6 +449,9 @@ func (dnd *dnd) end_drop(success bool) {
if dnd.drop_status.reading_data {
dnd.lp.QueueDnDData(DC{
Type: 'r', Operation: utils.IfElse(success, dnd.drop_status.action, 0)}) // end drop
if success && dnd.drop_status.action == 2 && !dnd.drop_status.is_remote_client {
// TODO: delete all dropped files/dirs/symlinks after successful move
}
}
dnd.reset_drop()
}