mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
Clear remote_item_write_id on completion
Needed as send next remote item checks it is zero before sending
This commit is contained in:
parent
0a69b89a80
commit
2bda489698
1 changed files with 2 additions and 5 deletions
|
|
@ -332,11 +332,8 @@ func (dnd *dnd) on_send_done(id loop.IdType) (err error) {
|
|||
}
|
||||
}
|
||||
if id == dnd.drag_status.remote_item_write_id {
|
||||
if dnd.drag_status.current_remote_file != nil {
|
||||
err = dnd.send_next_file_chunk()
|
||||
} else {
|
||||
err = dnd.next_remote_item()
|
||||
}
|
||||
dnd.drag_status.remote_item_write_id = 0
|
||||
err = dnd.send_next_file_chunk()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue