summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-13 16:30:46 +0000
committerritsuka <[email protected]>2015-05-13 16:30:46 +0000
commit667689b6088e4accb8ce1e1cfa203f2ecd2dacb3 (patch)
treec56ff75eef1ac55a546683eb379534ea0a63991c /macosx/HBPreviewGenerator.m
parent792e8a595b395eb98e9ce8f9bd0dd1304644e42f (diff)
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
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r--macosx/HBPreviewGenerator.m4
1 files changed, 4 insertions, 0 deletions
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];
}