summaryrefslogtreecommitdiffstats
path: root/macosx/HBPictureViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPictureViewController.m')
-rw-r--r--macosx/HBPictureViewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPictureViewController.m b/macosx/HBPictureViewController.m
index 344580ec6..87618cb97 100644
--- a/macosx/HBPictureViewController.m
+++ b/macosx/HBPictureViewController.m
@@ -38,7 +38,7 @@ static void *HBPictureViewControllerContext = &HBPictureViewControllerContext;
{
@try
{
- [self removeObserver:self forKeyPath:@"self.picture.modulus"];
+ [self removeObserver:self forKeyPath:@"self.picture.modulus" context:HBPictureViewControllerContext];
}
@catch (NSException * __unused exception) {}
}
@@ -64,7 +64,7 @@ static void *HBPictureViewControllerContext = &HBPictureViewControllerContext;
{
if (context == HBPictureViewControllerContext)
{
- // Set the increment here, it's not possible with bidings.
+ // Set the increment here, it's not possible with bindings.
if ([keyPath isEqualToString:@"self.picture.modulus"])
{
[self.widthStepper setIncrement:self.picture.modulus];