support deleted scenario

This commit is contained in:
Liv Erickson 2018-03-28 18:12:30 -07:00
parent b78f00342e
commit 387ff680d5

View file

@ -73,7 +73,11 @@ Rectangle {
}
onTextChanged : {
button1.enabled = true;
if (modelURL.text.length === 0){
button1.enabled = false;
} else {
button1.enabled = true;
}
}
MouseArea {