diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-07-17 16:57:04 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-07-17 16:57:04 -0500 |
| commit | 527b48278a43792e44acec858c1d0538b93ffffa (patch) | |
| tree | f561f43955f9ec79aa1e926dac5095c035a3e1b3 /pages/Keys.qml | |
| parent | 9331f2cff173eb92f3feee6776b6faf4ef1b2b45 (diff) | |
| parent | b5253f03db265b572f63c50e9597eb383f8597d9 (diff) | |
| download | monzero-gui-527b48278a43792e44acec858c1d0538b93ffffa.tar.gz monzero-gui-527b48278a43792e44acec858c1d0538b93ffffa.tar.xz monzero-gui-527b48278a43792e44acec858c1d0538b93ffffa.zip | |
Merge pull request #1451
b5253f0 use radio buttons for export qr code (cryptochangements34)
Diffstat (limited to 'pages/Keys.qml')
| -rw-r--r-- | pages/Keys.qml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pages/Keys.qml b/pages/Keys.qml index 848c588b..1148a148 100644 --- a/pages/Keys.qml +++ b/pages/Keys.qml @@ -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 |
