mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
Fix passphrase input focus problem; fix getting inventory and balance after logging in on Checkout
This commit is contained in:
parent
9290a51685
commit
0b600a74c3
3 changed files with 8 additions and 2 deletions
|
@ -892,6 +892,10 @@ Rectangle {
|
||||||
} else {
|
} else {
|
||||||
root.activeView = "checkoutSuccess";
|
root.activeView = "checkoutSuccess";
|
||||||
}
|
}
|
||||||
|
root.balanceReceived = false;
|
||||||
|
root.purchasesReceived = false;
|
||||||
|
commerce.inventory();
|
||||||
|
commerce.balance();
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -39,7 +39,7 @@ Item {
|
||||||
sendToParent({method: "needsLogIn"});
|
sendToParent({method: "needsLogIn"});
|
||||||
} else if (walletStatus === 3) {
|
} else if (walletStatus === 3) {
|
||||||
commerce.getSecurityImage();
|
commerce.getSecurityImage();
|
||||||
} else {
|
} else if (walletStatus > 3) {
|
||||||
console.log("ERROR in EmulatedMarketplaceHeader.qml: Unknown wallet status: " + walletStatus);
|
console.log("ERROR in EmulatedMarketplaceHeader.qml: Unknown wallet status: " + walletStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -197,6 +197,8 @@ Item {
|
||||||
height: 50;
|
height: 50;
|
||||||
echoMode: TextInput.Password;
|
echoMode: TextInput.Password;
|
||||||
placeholderText: "passphrase";
|
placeholderText: "passphrase";
|
||||||
|
activeFocusOnPress: true;
|
||||||
|
activeFocusOnTab: true;
|
||||||
|
|
||||||
onFocusChanged: {
|
onFocusChanged: {
|
||||||
root.keyboardRaised = focus;
|
root.keyboardRaised = focus;
|
||||||
|
@ -206,8 +208,8 @@ Item {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
parent.focus = true;
|
|
||||||
root.keyboardRaised = true;
|
root.keyboardRaised = true;
|
||||||
|
mouse.accepted = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue