From 320dba2819ee17523bfba646b2567f860ccb4e0b Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 24 May 2013 17:53:50 +0000 Subject: WinGui: Fix AutoName when no {title} tag is set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5506 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 3 +-- 1 file changed, 1 insertion(+), 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(UserSettingConstants.AutoNaming)) { - if (this.userSettingService.GetUserSetting(UserSettingConstants.AutoNameFormat) != null && - this.userSettingService.GetUserSetting(UserSettingConstants.AutoNameFormat).Contains(Constants.Title)) + if (this.userSettingService.GetUserSetting(UserSettingConstants.AutoNameFormat) != null ) { this.Destination = AutoNameHelper.AutoName(this.CurrentTask, this.SourceName); } -- cgit v1.2.3