Commit f3abf1ec authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix KVO for status icon visibility

parent a7536bc7
......@@ -176,7 +176,7 @@
[self.statusItem setBehavior:NSStatusItemBehaviorRemovalAllowed];
[self.statusItem setAutosaveName:@"statusBarItem"];
[self.statusItem addObserver:self forKeyPath:NSStringFromSelector(@selector(isVisible))
options:0 context:NULL];
options:NSKeyValueObservingOptionNew context:NULL];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment