Browse Source

Fix primary button missing

pull/240/head
Ionite 1 year ago
parent
commit
3021ca7a5d
No known key found for this signature in database
  1. 2
      StabilityMatrix.Avalonia/ViewModels/Dialogs/PythonPackagesViewModel.cs

2
StabilityMatrix.Avalonia/ViewModels/Dialogs/PythonPackagesViewModel.cs

@ -156,6 +156,8 @@ public partial class PythonPackagesViewModel : ContentDialogViewModelBase
Resources.Label_ConfirmQuestion
);
dialog.PrimaryButtonText = Resources.Action_Uninstall;
dialog.IsPrimaryButtonEnabled = true;
dialog.DefaultButton = ContentDialogButton.Primary;
dialog.CloseButtonText = Resources.Action_Cancel;
if (await dialog.ShowAsync() is not ContentDialogResult.Primary)

Loading…
Cancel
Save