mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 08:33:06 +00:00
Bug Fix: Set the font manager with the picked font, not always the same
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0087c6cd17
commit
b5e637be5f
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-03-11 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Preferences/EditorFSC/PCEditorFSCPrefs.m
|
||||
Bug Fix: Set the font manager with the picked font, not always the same.
|
||||
|
||||
2015-03-11 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Preferences/EditorFSC/PCEditorFSCPrefs.h
|
||||
|
|
|
@ -102,11 +102,11 @@
|
|||
// --- Utility methods
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
- (void)pickFont:(NSFont *)currentFont
|
||||
- (void)pickFont:(NSFont *)pickedFont
|
||||
{
|
||||
NSFontManager *fontManager = [NSFontManager sharedFontManager];
|
||||
|
||||
[fontManager setSelectedFont:currentEditorFont isMultiple:NO];
|
||||
[fontManager setSelectedFont:pickedFont isMultiple:NO];
|
||||
[fontManager orderFrontFontPanel:self];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue