Removed ctrl to 'Q'
@@ -187,11 +187,9 @@ impl FileTransferActivity {
}
KeyCode::Char(ch) => match ch {
'q' | 'Q' => {
- if key.modifiers.intersects(KeyModifiers::CONTROL) {
// Create quit prompt dialog
self.input_mode = self.create_quit_popup();
}
- }
'g' | 'G' => {
// Goto
// Show input popup
@@ -389,11 +387,9 @@ impl FileTransferActivity {
}
KeyCode::Char(ch) => match ch {
'q' | 'Q' => {
- if key.modifiers.intersects(KeyModifiers::CONTROL) {
// Create quit prompt dialog
self.input_mode = self.create_quit_popup();
}
- }
'g' | 'G' => {
// Goto
// Show input popup
@@ -521,11 +517,9 @@ impl FileTransferActivity {
}
KeyCode::Char(ch) => match ch {
'q' | 'Q' => {
- if key.modifiers.intersects(KeyModifiers::CONTROL) {
// Create quit prompt dialog
self.input_mode = self.create_quit_popup();
}
- }
_ => { /* Nothing to do */ }
},
_ => { /* Nothing to do */ }
