diff options
-rw-r--r-- | macosx/HBPreviewController.m | 3 | ||||
-rw-r--r-- | macosx/HBPreviewGenerator.m | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index 1313682c7..ef42b961e 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -247,9 +247,6 @@ typedef enum ViewMode : NSUInteger { { if (self.generator) { - // Purge the existing picture previews so they get recreated the next time - // they are needed. - [self.generator purgeImageCache]; [self switchViewToMode:ViewModePicturePreview]; [self displayPreview]; } 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]; } |