diff options
author | sr55 <[email protected]> | 2009-04-02 15:21:45 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-04-02 15:21:45 +0000 |
commit | c836a955f7248d35808c0f5e00a72e40d86c1f46 (patch) | |
tree | 0348669e78cdd0cfc51d0aff5e32d8c0f25ad6d4 /win/C#/frmMain.cs | |
parent | b2f1b126d82e4c784c065a235edbe0d7e8195658 (diff) |
WinGui:
- Confirm file overwrite for encode destination.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2296 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index bdce184de..fc6f98cfd 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -643,7 +643,8 @@ namespace Handbrake if (result == DialogResult.Yes)
encodeQueue.add(query, text_source.Text, text_destination.Text);
- } else
+ }
+ else
encodeQueue.add(query, text_source.Text, text_destination.Text);
encodeQueue.write2disk("hb_queue_recovery.xml"); // Writes the queue to the recovery file, just incase the GUI crashes.
@@ -863,7 +864,7 @@ namespace Handbrake if (autoPath != null)
text_destination.Text = autoPath;
else
- MessageBox.Show("You currently have automatic file naming enabled for the destination box, but you do not have a default direcotry set. You should set this in the program options (see Tools Menu)","Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ MessageBox.Show("You currently have automatic file naming enabled for the destination box, but you do not have a default direcotry set. You should set this in the program options (see Tools Menu)", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
data_chpt.Rows.Clear();
@@ -2120,7 +2121,7 @@ namespace Handbrake protected override void OnFormClosing(FormClosingEventArgs e)
{
// If currently encoding, the queue isn't paused, and there are queue items to process, prompt to confirm close.
- if ((encodeQueue.isEncoding) && (! encodeQueue.isPaused) && (encodeQueue.count() > 0))
+ if ((encodeQueue.isEncoding) && (!encodeQueue.isPaused) && (encodeQueue.count() > 0))
{
DialogResult result = MessageBox.Show("HandBrake has queue items to process. Closing HandBrake will not stop the current encoding, but will stop processing the queue.\n\nDo you want to close HandBrake?",
"Close HandBrake?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|