1
0
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:
Filippo Scognamiglio
2026-01-10 19:15:35 +01:00
parent b4e1077cb1
commit bd89df3564

View File

@@ -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;