summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-01-09 21:57:54 +0000
committersr55 <[email protected]>2010-01-09 21:57:54 +0000
commitd59750cc3884e5b9f22643c00f70a564604d9894 (patch)
treefbc141b77ab119c2208aa42f68469f67678ec10a
parent0c14d42b05c248158a5ee2932f2389d474927b82 (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
-rw-r--r--win/C#/frmMain.cs2
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
{