From 22db38fcb913b812322638d59f1698ba1a551ade Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 26 Feb 2025 16:50:37 +0100 Subject: [PATCH] Show message on no factors found --- qml/Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/Main.qml b/qml/Main.qml index 389f9fe..cd945d8 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -167,7 +167,7 @@ ApplicationWindow { Layout.fillHeight: true Text { - text: factorizationController.factors.join(", ") + text: factorizationController.isFinished && factorizationController.factors.length === 0 ? "No factors were found" : factorizationController.factors.join(", ") font.pixelSize: 14 color: "black" }