summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-05-07 23:00:33 +0000
committersr55 <[email protected]>2009-05-07 23:00:33 +0000
commit166ebbdc3752de708a72a7c4826713a804b3d507 (patch)
tree40c1e5b04addbef569ffbfa83b4554326029b1a5 /win/C#/frmMain.cs
parentd1e3dca5c9e68a95d6aa4c13c004283df24329dd (diff)
WinGui:
- Notify users that built-in presets have been updated (when preset version < handbrake version.) - Option to disable that alert in Options > Advanced tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2401 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 78074b143..a8c7a8a7a 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -894,7 +894,8 @@ namespace Handbrake
DataGridView chapterGridView = Main.chapterNaming(data_chpt, drop_chapterFinish.Text);
if (chapterGridView != null)
data_chpt = chapterGridView;
- } else
+ }
+ else
{
Check_ChapterMarkers.Checked = false;
Check_ChapterMarkers.Enabled = false;
@@ -930,7 +931,7 @@ namespace Handbrake
if (c_start == c_end)
{
Check_ChapterMarkers.Checked = false;
- Check_ChapterMarkers.Enabled = false;
+ Check_ChapterMarkers.Enabled = false;
}
else
Check_ChapterMarkers.Enabled = true;
@@ -2002,6 +2003,12 @@ namespace Handbrake
/// </summary>
public void loadPresetPanel()
{
+ if (presetHandler.checkIfPresetsAreOutOfDate())
+ if (Properties.Settings.Default.presetNotification == "Unchecked")
+ MessageBox.Show(
+ "HandBrake has determined your built-in presets are out of date... These presets will now be updated.",
+ "Preset Update", MessageBoxButtons.OK, MessageBoxIcon.Information);
+
presetHandler.getPresetPanel(ref treeView_presets);
treeView_presets.Update();
}