summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/Commands/OpenOptionsScreenCommand.cs4
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/Interfaces/IOptionsViewModel.cs2
2 files changed, 6 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();
+ }
}
}
}
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOptionsViewModel.cs
index ee2379045..7f4fabacb 100644
--- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOptionsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOptionsViewModel.cs
@@ -35,5 +35,7 @@ namespace HandBrakeWPF.ViewModels.Interfaces
void UpdateSettings();
void Close();
+
+ void PerformUpdateCheck();
}
} \ No newline at end of file