summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-06-15 18:03:13 +0000
committersr55 <[email protected]>2012-06-15 18:03:13 +0000
commit9509bc619cba7147cda85cbeea7d56c8343c1465 (patch)
tree7ed05f94a6f0821b9a899a8d92c2fa58f6ba7f64 /win/CS
parente8b47838402ffe5d224a48445ef1b9c9228bd08c (diff)
WinGui: Add extension to file when exporting the queue
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4738 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
index 33ad3acf2..b72e093ea 100644
--- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
@@ -302,7 +302,13 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public void Export()
{
- VistaSaveFileDialog dialog = new VistaSaveFileDialog { Filter = "HandBrake Queue Files (*.hbq)|*.hbq"};
+ VistaSaveFileDialog dialog = new VistaSaveFileDialog
+ {
+ Filter = "HandBrake Queue Files (*.hbq)|*.hbq",
+ OverwritePrompt = true,
+ DefaultExt = ".hbq",
+ AddExtension = true
+ };
dialog.ShowDialog();
this.queueProcessor.QueueManager.BackupQueue(dialog.FileName);