From 5a85a7012b5cdf9bf7bf7733db01aeea087af596 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Thu, 2 Mar 2017 18:06:21 +0100 Subject: MacGui: do not remove a job from the queue if the rescan to the main window fails. --- macosx/HBJob.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'macosx/HBJob.m') diff --git a/macosx/HBJob.m b/macosx/HBJob.m index 7db980938..5631c9006 100644 --- a/macosx/HBJob.m +++ b/macosx/HBJob.m @@ -382,7 +382,8 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification"; { _fileURL = [HBUtilities URLFromBookmark:_fileURLBookmark]; } - else + + if (!_fileURL) { decodeObject(_fileURL, NSURL); } -- cgit v1.2.3