diff options
-rw-r--r-- | macosx/HBPreviewController.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index be881dd73..4e7d259e2 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -202,6 +202,7 @@ typedef enum ViewMode : NSUInteger { else { self.previewView.image = nil; + [self hideHud]; self.window.title = NSLocalizedString(@"Preview", nil); } } @@ -210,6 +211,7 @@ typedef enum ViewMode : NSUInteger { { if (self.generator) { + [self.generator cancel]; [self switchViewToMode:ViewModePicturePreview]; [self displayPreviewAtIndex:self.pictureIndex]; } @@ -223,7 +225,7 @@ typedef enum ViewMode : NSUInteger { { [self startMovieTimer]; } - else + else if (self.currentViewMode == ViewModePicturePreview) { [self reloadPreviews]; } |