diff options
author | sr55 <[email protected]> | 2011-04-30 12:49:44 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-04-30 12:49:44 +0000 |
commit | 89e5b03264f0b272da9861a3f4a74adf235a10a6 (patch) | |
tree | 77dbd9528d8d8d15d5a8354c38bea049fda40528 /win/CS/frmMain.cs | |
parent | 1cd4e576275a12275601da3dce5a2b11a638644d (diff) |
WinGui:
- Fix an issue where the user could overwrite a built-in preset.
- Fix some more audio issues in relation to incorrect bitrate and sample rate being selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3970 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmMain.cs')
-rw-r--r-- | win/CS/frmMain.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/win/CS/frmMain.cs b/win/CS/frmMain.cs index 10815d564..10cd69952 100644 --- a/win/CS/frmMain.cs +++ b/win/CS/frmMain.cs @@ -589,8 +589,7 @@ namespace Handbrake // Now enable the save menu if the selected preset is a user preset
if (treeView_presets.SelectedNode != null)
- if (presetHandler.CheckIfPresetExists(treeView_presets.SelectedNode.Text))
- pmnu_saveChanges.Enabled = true;
+ pmnu_saveChanges.Enabled = presetHandler.CanUpdatePreset(treeView_presets.SelectedNode.Text);
treeView_presets.Select();
}
@@ -674,7 +673,7 @@ namespace Handbrake /// <param name="e">
/// The e.
/// </param>
- private void treeview_presets_mouseUp(object sender, MouseEventArgs e)
+ private void treeview_presets_mouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
treeView_presets.SelectedNode = treeView_presets.GetNodeAt(e.Location);
@@ -1140,7 +1139,7 @@ namespace Handbrake return false;
}
}
-
+
// Make sure we don't have a duplciate on the queue.
if (this.queueProcessor.QueueManager.CheckForDestinationPathDuplicates(jobDestination))
|