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

macosx: automatically close the shared NSFontPanel when closing the preferences

parent 01533a3c
......@@ -743,10 +743,14 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
- (IBAction)buttonAction:(id)sender
{
if( sender == o_sprefs_cancel_btn )
{
[[NSFontPanel sharedFontPanel] close];
[o_sprefs_win orderOut: sender];
}
else if( sender == o_sprefs_save_btn )
{
[self saveChangedSettings];
[[NSFontPanel sharedFontPanel] close];
[o_sprefs_win orderOut: sender];
}
else if( sender == o_sprefs_reset_btn )
......
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