From 667689b6088e4accb8ce1e1cfa203f2ecd2dacb3 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Wed, 13 May 2015 16:30:46 +0000 Subject: MacGui: remove che previews cache in HBPreviewGenerator when a setting changed and not in HBPreviewController git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7173 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBPreviewGenerator.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'macosx/HBPreviewGenerator.m') diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m index e1cf20e26..379d584f9 100644 --- a/macosx/HBPreviewGenerator.m +++ b/macosx/HBPreviewGenerator.m @@ -108,6 +108,10 @@ - (void) imagesSettingsDidChange { + // Purge the existing picture previews so they get recreated the next time + // they are needed. + + [self purgeImageCache]; [self.delegate reloadPreviews]; } -- cgit v1.2.3