@@ -229,22 +229,22 @@ private async void KeyboardAccelerator_Invoked(KeyboardAccelerator sender, Keybo
229
229
break ;
230
230
231
231
case ( true , false , false , true , VirtualKey . C ) : // ctrl + c, copy
232
- if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled )
232
+ if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled && ! App . CurrentInstance . ContentPage . isRenamingItem )
233
233
App . CurrentInstance . InteractionOperations . CopyItem_ClickAsync ( null , null ) ;
234
234
break ;
235
235
236
236
case ( true , false , false , true , VirtualKey . V ) : // ctrl + v, paste
237
- if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled )
237
+ if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled && ! App . CurrentInstance . ContentPage . isRenamingItem )
238
238
App . CurrentInstance . InteractionOperations . PasteItem_ClickAsync ( null , null ) ;
239
239
break ;
240
240
241
241
case ( true , false , false , true , VirtualKey . X ) : // ctrl + x, cut
242
- if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled )
242
+ if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled && ! App . CurrentInstance . ContentPage . isRenamingItem )
243
243
App . CurrentInstance . InteractionOperations . CutItem_Click ( null , null ) ;
244
244
break ;
245
245
246
246
case ( true , false , false , true , VirtualKey . A ) : // ctrl + a, select all
247
- if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled )
247
+ if ( ! App . CurrentInstance . NavigationToolbar . IsEditModeEnabled && ! App . CurrentInstance . ContentPage . isRenamingItem )
248
248
App . CurrentInstance . InteractionOperations . SelectAllItems ( ) ;
249
249
break ;
250
250
0 commit comments