diff options
author | Damiano Galassi <[email protected]> | 2020-04-12 09:24:39 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-04-12 09:24:39 +0200 |
commit | de9b27a42c017fa4ccfe5e3577d6f623a81efe6e (patch) | |
tree | 0f782556d758d0fb2f10af948c4a66d202c22c7f /macosx/HBPresetsManager.m | |
parent | edf1e2f70090eacae73f22772310cb11afb8a1f5 (diff) |
MacGui: improve some NSNotificationCenter calls to avoid listening to unwanted notifications.
Diffstat (limited to 'macosx/HBPresetsManager.m')
-rw-r--r-- | macosx/HBPresetsManager.m | 2 |
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 |