mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
use radio buttons for export qr code
This commit is contained in:
parent
06fdf27be2
commit
b5253f03db
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue