diff options
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,
|