Handle transfer aborted

This commit is contained in:
veeso
2021-03-21 12:59:47 +01:00
parent 7c6a22d3e1
commit fd4c4a3772

View File

@@ -560,6 +560,12 @@ impl FileTransferActivity {
self.umount_help();
None
}
// -- progress bar
(COMPONENT_PROGRESS_BAR, &MSG_KEY_CTRL_C) => {
// Set transfer aborted to True
self.transfer.aborted = true;
None
}
// -- fallback
(_, _) => None, // Nothing to do
},