Skip to content

Commit

Permalink
also sync on ReloadPrefs notification for non-cfprefsd
Browse files Browse the repository at this point in the history
  • Loading branch information
kirb committed May 9, 2015
1 parent 634d052 commit 0bf48e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HBPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ - (BOOL)synchronize {
}

- (void)_didReceiveDarwinNotification {
if (!HAS_CFPREFSD) {
[self synchronize];
}

[self _updateRegisteredObjects];
[[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:HBPreferencesDidChangeNotification object:self]];

Expand Down

0 comments on commit 0bf48e4

Please sign in to comment.