summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-05-24 17:53:50 +0000
committersr55 <[email protected]>2013-05-24 17:53:50 +0000
commit320dba2819ee17523bfba646b2567f860ccb4e0b (patch)
treefab1ca984dd745e9e1c22135b13b9203342edaa4 /win/CS/HandBrakeWPF
parenta9a2621f49f1e29aceda4d33f57c24c21fdebcf1 (diff)
WinGui: Fix AutoName when no {title} tag is set.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5506 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index e3fd2dfc1..fd9612fef 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -700,8 +700,7 @@ namespace HandBrakeWPF.ViewModels
if (this.UserSettingService.GetUserSetting<bool>(UserSettingConstants.AutoNaming))
{
- if (this.userSettingService.GetUserSetting<string>(UserSettingConstants.AutoNameFormat) != null &&
- this.userSettingService.GetUserSetting<string>(UserSettingConstants.AutoNameFormat).Contains(Constants.Title))
+ if (this.userSettingService.GetUserSetting<string>(UserSettingConstants.AutoNameFormat) != null )
{
this.Destination = AutoNameHelper.AutoName(this.CurrentTask, this.SourceName);
}