Browse Source

ava: Fix Open Applet menu enabled (#5206)

Currently, the `Open Applet` menu is still enabled when a guest is running, which is wrong. This is not fixed by refreshing the property binding on `IsEnabled`.
Ac_K 2 years ago
parent
commit
9367e3c35d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs

+ 1 - 0
src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs

@@ -257,6 +257,7 @@ namespace Ryujinx.Ava.UI.ViewModels
 
 
                 OnPropertyChanged();
                 OnPropertyChanged();
                 OnPropertyChanged(nameof(EnableNonGameRunningControls));
                 OnPropertyChanged(nameof(EnableNonGameRunningControls));
+                OnPropertyChanged(nameof(IsAppletMenuActive));
                 OnPropertyChanged(nameof(StatusBarVisible));
                 OnPropertyChanged(nameof(StatusBarVisible));
                 OnPropertyChanged(nameof(ShowFirmwareStatus));
                 OnPropertyChanged(nameof(ShowFirmwareStatus));
             }
             }