Restore input mode once download/upload finishes

This commit is contained in:
ChristianVisintin
2020-11-29 12:37:43 +01:00
parent a69b410ee0
commit c54cbed866

View File

@@ -415,6 +415,8 @@ impl FileTransferActivity {
} }
} }
} }
// Eventually, Reset input mode to explorer
self.input_mode = InputMode::Explorer;
} }
/// ### filetransfer_recv /// ### filetransfer_recv
@@ -543,6 +545,8 @@ impl FileTransferActivity {
} }
} }
} }
// Eventually, Reset input mode to explorer
self.input_mode = InputMode::Explorer;
} }
/// ### log /// ### log
@@ -1161,13 +1165,6 @@ impl FileTransferActivity {
/// Self titled /// Self titled
fn callback_nothing_to_do(&mut self) {} fn callback_nothing_to_do(&mut self) {}
/// ### callback_force_input_mode_to_explorer
///
/// force input mode to explorer
fn callback_force_input_mode_to_explorer(&mut self) {
self.input_mode = InputMode::Explorer;
}
/// ### callback_change_directory /// ### callback_change_directory
/// ///
/// Callback for GOTO command /// Callback for GOTO command