Show message on no factors found
This commit is contained in:
parent
d8a2f09cde
commit
22db38fcb9
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue