Commit cae48bae authored by Marvin Scholz's avatar Marvin Scholz
Browse files

macosx: Set correct state/highlight for badge button

parent 9385e8ba
......@@ -33,6 +33,17 @@
return nil;
}
- (instancetype)initWithCoder:(NSCoder *)coder
{
self = [super initWithCoder:coder];
if (self) {
[(NSButtonCell*)[self cell] setShowsStateBy:0];
[(NSButtonCell*)[self cell] setHighlightsBy:0];
}
return self;
}
/* Our badges show integer values so make it easier to set those by setting
* the title depending on the integer value.
*/
......
Supports Markdown
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