From bd89df3564f215dbb4f0607ea8ee6e5740d88e0c Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Sat, 10 Jan 2026 19:15:35 +0100 Subject: [PATCH] Fix empty font in certain conditions. --- app/qml/PreprocessedTerminal.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/qml/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml index e07f173..814f103 100644 --- a/app/qml/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -152,6 +152,11 @@ Item{ family: fontFamily, pixelSize: pixelSize }); + + if (!updatedFont) { + return; + } + kterminal.font = updatedFont; terminalContainer.fontWidth = fontWidth;