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: { onVisibleChanged: {
commerce.getSecurityImage(); if (visible) {
commerce.getSecurityImage();
}
} }
SecurityImageModel { SecurityImageModel {

View file

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