summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-04-12 09:24:39 +0200
committerDamiano Galassi <[email protected]>2020-04-12 09:24:39 +0200
commitde9b27a42c017fa4ccfe5e3577d6f623a81efe6e (patch)
tree0f782556d758d0fb2f10af948c4a66d202c22c7f /macosx/HBPresetsManager.m
parentedf1e2f70090eacae73f22772310cb11afb8a1f5 (diff)
MacGui: improve some NSNotificationCenter calls to avoid listening to unwanted notifications.
Diffstat (limited to 'macosx/HBPresetsManager.m')
-rw-r--r--macosx/HBPresetsManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPresetsManager.m b/macosx/HBPresetsManager.m
index d1a11cb56..ebaa5ff4b 100644
--- a/macosx/HBPresetsManager.m
+++ b/macosx/HBPresetsManager.m
@@ -49,7 +49,7 @@ NSString *HBPresetsChangedNotification = @"HBPresetsChangedNotification";
- (void)nodeDidChange:(HBTreeNode *)node
{
- [NSNotificationCenter.defaultCenter postNotificationName:HBPresetsChangedNotification object:nil];
+ [NSNotificationCenter.defaultCenter postNotificationName:HBPresetsChangedNotification object:self];
}
- (void)treeDidRemoveNode:(HBTreeNode *)node