Show message on no factors found

This commit is contained in:
ItsDrike 2025-02-26 16:50:37 +01:00
parent d8a2f09cde
commit 22db38fcb9
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

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