diff options
author | sr55 <[email protected]> | 2013-04-26 19:57:57 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-04-26 19:57:57 +0000 |
commit | 5488dd8db7ad882981cd76036723a36031bac477 (patch) | |
tree | b6da59426b08c88c1daf022f0ba206eced02f67f /win/CS/HandBrakeWPF | |
parent | 4212965a7a90a5f2121dadea8c5d25b6212c344e (diff) |
WinGui: Quick fix to the preset export cancel option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5413 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 32a92c94f..fd465d480 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1519,7 +1519,7 @@ namespace HandBrakeWPF.ViewModels savefiledialog.ShowDialog();
string filename = savefiledialog.FileName;
- if (filename != null)
+ if (!string.IsNullOrEmpty(filename))
{
PlistUtility.Export(
savefiledialog.FileName,
|