mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 00:32:27 +00:00
Fix empty font in certain conditions.
This commit is contained in:
@@ -152,6 +152,11 @@ Item{
|
|||||||
family: fontFamily,
|
family: fontFamily,
|
||||||
pixelSize: pixelSize
|
pixelSize: pixelSize
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!updatedFont) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
kterminal.font = updatedFont;
|
kterminal.font = updatedFont;
|
||||||
|
|
||||||
terminalContainer.fontWidth = fontWidth;
|
terminalContainer.fontWidth = fontWidth;
|
||||||
|
|||||||
Reference in New Issue
Block a user