Commit 2f76aba6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: disable the font-selector button in case quartztext isn't present, as it is useless then

parent f84c91c6
......@@ -579,6 +579,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[self setupField: o_osd_font_fld forOption: "freetype-font"];
[self setupButton: o_osd_font_color_pop forIntList: "freetype-color"];
[self setupButton: o_osd_font_size_pop forIntList: "freetype-rel-fontsize"];
/* selector button is useless in this case */
[o_osd_font_btn setEnabled: NO];
}
......@@ -1133,10 +1135,6 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
[[NSFontManager sharedFontManager] setTarget: self];
[[NSFontPanel sharedFontPanel] orderFront:self];
}
else
{
[sender setEnabled: NO];
}
}
- (void)changeFont:(id)sender
......
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