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 836a492 commit b82b914Copy full SHA for b82b914
src/Files/Dialogs/FilesystemOperationDialog.xaml.cs
@@ -42,7 +42,10 @@ protected override void OnApplyTemplate()
42
private void PrimaryButton_GotFocus(object sender, RoutedEventArgs e)
43
{
44
(sender as Button).GotFocus -= PrimaryButton_GotFocus;
45
- chkPermanentlyDelete.IsEnabled = ViewModel.PermanentlyDeleteEnabled;
+ if (chkPermanentlyDelete != null)
46
+ {
47
+ chkPermanentlyDelete.IsEnabled = ViewModel.PermanentlyDeleteEnabled;
48
+ }
49
DetailsGrid.IsEnabled = true;
50
}
51
0 commit comments