diff --git a/src/Camelot.ViewModels/Implementations/MainWindow/OperationsViewModel.cs b/src/Camelot.ViewModels/Implementations/MainWindow/OperationsViewModel.cs index a197459d..3da5bfe1 100644 --- a/src/Camelot.ViewModels/Implementations/MainWindow/OperationsViewModel.cs +++ b/src/Camelot.ViewModels/Implementations/MainWindow/OperationsViewModel.cs @@ -90,7 +90,7 @@ private async Task RemoveAsync() var navigationParameter = new NodesRemovingNavigationParameter(filesToRemove, false); var result = await ShowRemoveConfirmationDialogAsync(navigationParameter); - if (result.IsConfirmed) + if (result?.IsConfirmed ?? false) { _operationsService.RemoveAsync(filesToRemove).Forget(); } diff --git a/src/Camelot/Camelot.csproj b/src/Camelot/Camelot.csproj index e5c35039..2569bb53 100644 --- a/src/Camelot/Camelot.csproj +++ b/src/Camelot/Camelot.csproj @@ -3,7 +3,7 @@ Exe netcoreapp3.1 false - 0.1.0 + 0.1.1