Removed ctrl to 'Q'

This commit is contained in:
ChristianVisintin
2020-12-10 12:06:32 +01:00
parent 53249c8bc5
commit 11475b64ea

View File

@@ -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 */ }