Browse Source

Fixed syntax

flabbet 3 years ago
parent
commit
f8c9ca528c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      PixiEditor/App.xaml.cs

+ 1 - 1
PixiEditor/App.xaml.cs

@@ -18,7 +18,7 @@ namespace PixiEditor
             if (ViewModelMain.Current.BitmapManager.Documents.Any(x => !x.ChangesSaved))
             {
                 ConfirmationType confirmation = ConfirmationDialog.Show($"{e.ReasonSessionEnding} with unsaved data. Are you sure?", $"{e.ReasonSessionEnding}");
-                e.Cancel = confirmation != ConfirmationType.Yes
+                e.Cancel = confirmation != ConfirmationType.Yes;
             }
         }
     }