summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-03-02 18:06:21 +0100
committerDamiano Galassi <[email protected]>2017-03-02 18:06:21 +0100
commit5a85a7012b5cdf9bf7bf7733db01aeea087af596 (patch)
treec271336811d84253b4aa68e8e7b3f7d7e2379141 /macosx/HBJob.m
parenta7d96f24f2c8df6b1092d4376c436e6d63514bdb (diff)
MacGui: do not remove a job from the queue if the rescan to the main window fails.
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m3
1 files changed, 2 insertions, 1 deletions
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);
}