diff options
-rw-r--r-- | Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs | 5 | ||||
-rw-r--r-- | Ryujinx.Ava/Ui/Windows/MainWindow.axaml | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs b/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs index a9bb38ee..9c027773 100644 --- a/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs +++ b/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs @@ -535,6 +535,11 @@ namespace Ryujinx.Ava.Ui.ViewModels } } + public bool ShowConsoleVisible + { + get => ConsoleHelper.SetConsoleWindowStateSupported; + } + public ObservableCollection<ApplicationData> Applications { get => _applications; diff --git a/Ryujinx.Ava/Ui/Windows/MainWindow.axaml b/Ryujinx.Ava/Ui/Windows/MainWindow.axaml index 4fcd8ad1..f79b4f79 100644 --- a/Ryujinx.Ava/Ui/Windows/MainWindow.axaml +++ b/Ryujinx.Ava/Ui/Windows/MainWindow.axaml @@ -128,7 +128,7 @@ <CheckBox IsChecked="{Binding StartGamesInFullscreen, Mode=TwoWay}" /> </MenuItem.Icon> </MenuItem> - <MenuItem Header="{locale:Locale MenuBarOptionsShowConsole}"> + <MenuItem Header="{locale:Locale MenuBarOptionsShowConsole}" IsVisible="{Binding ShowConsoleVisible}"> <MenuItem.Icon> <CheckBox IsChecked="{Binding ShowConsole, Mode=TwoWay}" /> </MenuItem.Icon> |