summaryrefslogtreecommitdiffstats
path: root/macosx/HBPictureController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-28 08:15:52 +0100
committerDamiano Galassi <[email protected]>2015-10-28 08:15:52 +0100
commit89c0a25d548575ac2ad9e867fa0f506fed7ad625 (patch)
tree6ae99c75b0558cb04af6842ea8b5b53bdac5c0aa /macosx/HBPictureController.m
parent5adcef6070a6b8f91a92d2c22e5449dab3b15a34 (diff)
MacGui: annotate the type of some arrays, and check the count of the input jobs in HBQueueController addJobsFromArray:, so we don't add an empty undo command.
Diffstat (limited to 'macosx/HBPictureController.m')
-rw-r--r--macosx/HBPictureController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPictureController.m b/macosx/HBPictureController.m
index 083bc2340..8dee13187 100644
--- a/macosx/HBPictureController.m
+++ b/macosx/HBPictureController.m
@@ -54,7 +54,7 @@ static void *HBPictureControllerContext = &HBPictureControllerContext;
{
for (NSString *keyPath in observerdKeyPaths)
{
- [self removeObserver:self forKeyPath:keyPath];
+ [self removeObserver:self forKeyPath:keyPath context:HBPictureControllerContext];
}
} @catch (NSException * __unused exception) {}