summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-08-29 22:26:51 +0100
committersr55 <[email protected]>2019-08-29 22:26:51 +0100
commit2dff6f93940c1d1d16b04d2b33c3b21ba910a186 (patch)
treeca9a699312bb1b0510ed50971f6d5229831faf63 /win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
parent3293f1984f227a61dfe0f0d130bad8d09b19025d (diff)
WinGui: When using the About Menu -> Update Check, automatically preform the check rather than requiring the user to hit an additional button.
Diffstat (limited to 'win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs')
-rw-r--r--win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs b/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
index fd3a5f5f7..dced5d9c9 100644
--- a/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
+++ b/win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs
@@ -62,6 +62,10 @@ namespace HandBrakeWPF.Commands
if (parameter != null && parameter.GetType() == typeof(OptionsTab))
{
optionsViewModel.GotoTab((OptionsTab)parameter);
+ if (((OptionsTab)parameter).Equals(OptionsTab.Updates))
+ {
+ optionsViewModel.PerformUpdateCheck();
+ }
}
}
}