File tree Expand file tree Collapse file tree 4 files changed +0
-18
lines changed
Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -216,11 +216,6 @@ impl Component for DlgCpMvProgress {
216216 let mut key_handled = true ;
217217
218218 match key {
219- Key :: Esc | Key :: Char ( 'q' ) | Key :: Char ( 'Q' ) | Key :: F ( 10 ) | Key :: Char ( '0' ) => {
220- self . resume ( ) ;
221-
222- let _ = self . ev_tx . send ( CpMvEvent :: Abort ) ;
223- }
224219 Key :: Char ( '\n' ) | Key :: Char ( ' ' ) => match self . focus_position {
225220 0 => match & self . suspend_tx {
226221 Some ( _suspend_tx) => self . resume ( ) ,
Original file line number Diff line number Diff line change @@ -172,11 +172,6 @@ impl Component for DlgDirscan {
172172 let mut key_handled = true ;
173173
174174 match key {
175- Key :: Esc | Key :: Char ( 'q' ) | Key :: Char ( 'Q' ) | Key :: F ( 10 ) | Key :: Char ( '0' ) => {
176- self . resume ( ) ;
177-
178- let _ = self . ev_tx . send ( DirScanEvent :: Abort ) ;
179- }
180175 Key :: Char ( '\n' ) | Key :: Char ( ' ' ) => match self . focus_position {
181176 0 => match & self . suspend_tx {
182177 Some ( _suspend_tx) => self . resume ( ) ,
Original file line number Diff line number Diff line change @@ -207,9 +207,6 @@ impl Component for DlgReport {
207207 let mut key_handled = true ;
208208
209209 match key {
210- Key :: Esc | Key :: Char ( 'q' ) | Key :: Char ( 'Q' ) | Key :: F ( 10 ) | Key :: Char ( '0' ) => {
211- self . close ( ) ;
212- }
213210 Key :: Char ( '\n' ) | Key :: Char ( ' ' ) => match self . focus_position {
214211 0 => self . close ( ) ,
215212 1 => self . on_save ( ) ,
Original file line number Diff line number Diff line change @@ -160,11 +160,6 @@ impl Component for DlgRmProgress {
160160 let mut key_handled = true ;
161161
162162 match key {
163- Key :: Esc | Key :: Char ( 'q' ) | Key :: Char ( 'Q' ) | Key :: F ( 10 ) | Key :: Char ( '0' ) => {
164- self . resume ( ) ;
165-
166- let _ = self . ev_tx . send ( RmEvent :: Abort ) ;
167- }
168163 Key :: Char ( '\n' ) | Key :: Char ( ' ' ) => match self . focus_position {
169164 0 => match & self . suspend_tx {
170165 Some ( _suspend_tx) => self . resume ( ) ,
You can’t perform that action at this time.
0 commit comments