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" }