We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bccda1 commit b77b6ffCopy full SHA for b77b6ff
src/Files.App/Views/MainPage.xaml.cs
@@ -235,6 +235,9 @@ private async Task OnPreviewKeyDownAsync(KeyRoutedEventArgs e)
235
if (command.Code is CommandCodes.OpenItem && (source?.FindAscendantOrSelf<Omnibar>() is not null || source?.FindAscendantOrSelf<AppBarButton>() is not null))
236
break;
237
238
+ // Prevent ctrl + c from overriding copy in textblocks
239
+ if (currentModifiers == KeyModifiers.Ctrl && e.Key is VirtualKey.C && (FrameworkElement)FocusManager.GetFocusedElement(MainWindow.Instance.Content.XamlRoot) is TextBlock)
240
+ break;
241
242
if (command.Code is not CommandCodes.None && keyReleased)
243
{
0 commit comments