diff options
author | sr55 <[email protected]> | 2010-01-09 21:57:54 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-01-09 21:57:54 +0000 |
commit | d59750cc3884e5b9f22643c00f70a564604d9894 (patch) | |
tree | fbc141b77ab119c2208aa42f68469f67678ec10a /win/C#/frmMain.cs | |
parent | 0c14d42b05c248158a5ee2932f2389d474927b82 (diff) |
WinGui:
- Fix for the Chapters tab. It was not being enabled when a folder containing a Video_TS folder was being selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3060 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 47d9f060b..127aa046d 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1525,7 +1525,7 @@ namespace Handbrake drp_dvdtitle.SelectedItem = Main.SelectLongestTitle(thisDVD);
// Enable the creation of chapter markers if the file is an image of a dvd.
- if (sourcePath.ToLower().Contains(".iso") || sourcePath.Contains("VIDEO_TS"))
+ if (sourcePath.ToLower().Contains(".iso") || sourcePath.Contains("VIDEO_TS") || Directory.Exists(Path.Combine(sourcePath, "VIDEO_TS")))
Check_ChapterMarkers.Enabled = true;
else
{
|