We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 509b42c + c9ab381 commit 9e83ebaCopy full SHA for 9e83eba
1 file changed
YMouseButtonControl.Core/ViewModels/MainWindow/GlobalSettingsDialogViewModel.cs
@@ -61,7 +61,7 @@ IThemeService themeService
61
);
62
var startMenuChanged = this.WhenAnyValue(
63
x => x.StartMenuChecked,
64
- selector: val => val != startMenuInstallerService.InstallStatus()
+ selector: val => StartMenuEnabled && val != startMenuInstallerService.InstallStatus()
65
66
var themeChanged = this.WhenAnyValue(
67
x => x.ThemeSetting.IntValue,
@@ -90,7 +90,10 @@ IThemeService themeService
90
}
91
92
93
- if (StartMenuChecked != startMenuInstallerService.InstallStatus())
+ if (
94
+ StartMenuEnabled
95
+ && StartMenuChecked != startMenuInstallerService.InstallStatus()
96
+ )
97
{
98
if (StartMenuChecked)
99
0 commit comments