- patch by travistex
git-svn-id: svn://localhost/HandBrake/trunk@1222
b64f7644-9d1e-0410-96f1-
a4d463321fa5
{
int i;
NSString *chapterString;
+
+ fTitle = title;
+
+ if (!title)
+ return;
+
int count = hb_list_count( title->list_chapter );
for( i = 0; i < count; i++ )
}
}
- fTitle = title;
}
- (int)numberOfRowsInTableView:(NSTableView *)aTableView
/* We display a message if a valid dvd source was not chosen */
[fSrcDVD2Field setStringValue: @"No Valid Source Found"];
SuccessfulScan = NO;
+
+ // Notify ChapterTitles that there's no title
+ [fChapterTitlesDelegate resetWithTitle:nil];
+ [fChapterTable reloadData];
}
else
{