mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-14 06:31:31 +00:00
Fix loading of font from preferences.
This commit is contained in:
parent
0cdbc996a9
commit
5f360ca78b
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-03-24 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Preferences/EditorFSC/PCEditorFSCPrefs.m
|
||||
Fix loading of font from preferences.
|
||||
|
||||
2019-12-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Framework/PCButton.m
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||
//
|
||||
// Copyright (C) 2001-2015 Free Software Foundation
|
||||
// Copyright (C) 2001-2020 Free Software Foundation
|
||||
//
|
||||
// Authors: Sergii Stoian
|
||||
// Riccardo Mottola
|
||||
|
@ -175,7 +175,7 @@
|
|||
defaultValue:[consoleFixedFont fontName]];
|
||||
fontSize = [prefs floatForKey:ConsoleFixedFontSize
|
||||
defaultValue:[consoleFixedFont pointSize]];
|
||||
consoleFixedFont = [NSFont fontWithName:fontName size:fontSize];
|
||||
currentConsoleFixedFont = [NSFont fontWithName:fontName size:fontSize];
|
||||
[consoleFixedFontField setStringValue:[NSString stringWithFormat:@"%@ %0.1f",
|
||||
[currentConsoleFixedFont fontName], [currentConsoleFixedFont pointSize]]];
|
||||
[consoleFixedFontField setFont:currentConsoleFixedFont];
|
||||
|
|
Loading…
Reference in a new issue