Browse Source

Fix command error handlers

pull/165/head
Ionite 1 year ago
parent
commit
a84875ad79
No known key found for this signature in database
  1. 3
      StabilityMatrix.Avalonia/ViewModels/InferenceViewModel.cs

3
StabilityMatrix.Avalonia/ViewModels/InferenceViewModel.cs

@ -97,7 +97,8 @@ public partial class InferenceViewModel : PageViewModelBase
RunningPackage = args.CurrentPackagePair;
};
MenuSaveAsCommand.WithNotificationErrorHandler(notificationService);
MenuSaveAsCommand.WithConditionalNotificationErrorHandler(notificationService);
MenuOpenProjectCommand.WithConditionalNotificationErrorHandler(notificationService);
}
private bool isFirstLoadComplete;

Loading…
Cancel
Save