This commit is contained in:
Zach Fox 2017-08-18 17:04:46 -07:00
parent a07598c738
commit 6e171d38ce
2 changed files with 5 additions and 2 deletions

View file

@ -40,8 +40,10 @@ Item {
}
}
Component.onCompleted: {
commerce.getSecurityImage();
onVisibleChanged: {
if (visible) {
commerce.getSecurityImage();
}
}
SecurityImageModel {

View file

@ -42,6 +42,7 @@ Rectangle {
if (root.justSubmitted) {
root.resetSubmitButton();
root.visible = false;
root.justSubmitted = false;
}
} else if (root.justSubmitted) {
// Error submitting new security image.