Disconnect, don't quit on fatal error

This commit is contained in:
ChristianVisintin
2020-11-29 16:18:23 +01:00
parent 07ebf3cd1b
commit b300f510b8

View File

@@ -1060,7 +1060,7 @@ impl FileTransferActivity {
match key.code { match key.code {
KeyCode::Enter => { KeyCode::Enter => {
// Set quit to true; since a fatal error happened // Set quit to true; since a fatal error happened
self.quit = true; self.disconnect();
} }
_ => { /* Nothing to do */ } _ => { /* Nothing to do */ }
} }