Merge pull request #1451

b5253f0 use radio buttons for export qr code (cryptochangements34)
This commit is contained in:
luigi1111 2018-07-17 16:57:04 -05:00
commit 527b48278a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -189,23 +189,25 @@ Rectangle {
Layout.bottomMargin: 10 * scaleRatio
}
RowLayout {
StandardButton {
enabled: !fullWalletQRCode.visible
ColumnLayout {
RadioButton {
id: showFullQr
small: true
enabled: !this.checked
checked: fullWalletQRCode.visible
text: qsTr("Spendable Wallet") + translationManager.emptyString
onClicked: {
viewOnlyQRCode.visible = false
showViewOnlyQr.checked = false
}
}
StandardButton {
enabled: fullWalletQRCode.visible
RadioButton {
enabled: !this.checked
id: showViewOnlyQr
small: true
checked: viewOnlyQRCode.visible
text: qsTr("View Only Wallet") + translationManager.emptyString
onClicked: {
viewOnlyQRCode.visible = true
showFullQr.checked = false
}
}
Layout.bottomMargin: 30 * scaleRatio