[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.
main
Adriaan de Groot 7 years ago
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…
Cancel
Save