From cc9e06d558bd5b33e589c9e9eb0d901654c46b4c Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 22 Jan 2008 16:01:59 +0000 Subject: MacGui: Fix issue where selecting the chapter tab can crash the macgui if no valid source is selected - patch by travistex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1222 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.mm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'macosx/Controller.mm') diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 76a40e677..5b0e2c207 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1295,6 +1295,10 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It /* 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 { -- cgit v1.2.3