diff options
author | Damiano Galassi <[email protected]> | 2017-03-02 18:06:21 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-03-02 18:06:21 +0100 |
commit | 5a85a7012b5cdf9bf7bf7733db01aeea087af596 (patch) | |
tree | c271336811d84253b4aa68e8e7b3f7d7e2379141 /macosx/HBJob.m | |
parent | a7d96f24f2c8df6b1092d4376c436e6d63514bdb (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.m | 3 |
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); } |