[libcalamaresui] Reset font height when changing size
- defaultFontHeight() caches the result; clear cache when changing the default size, even though this happens only once in the current codebase.
This commit is contained in:
parent
bb5ac0326d
commit
97a45db4bf
@ -239,6 +239,7 @@ void
|
||||
setDefaultFontSize( int points )
|
||||
{
|
||||
s_defaultFontSize = points;
|
||||
s_defaultFontHeight = 0; // Recalculate on next call to defaultFontHeight()
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user