SettingsWallet: hide creating a view wallet for viewOnly wallets

This commit is contained in:
mmbyday 2019-02-25 11:22:30 -08:00
parent a89ffd02d0
commit 891ea158dc

View file

@ -131,6 +131,7 @@ Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: settingsWallet.itemHeight Layout.preferredHeight: settingsWallet.itemHeight
columnSpacing: 0 columnSpacing: 0
visible: !appWindow.viewOnly
ColumnLayout { ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
@ -184,6 +185,7 @@ Rectangle {
Rectangle { Rectangle {
// divider // divider
visible: !appWindow.viewOnly
Layout.preferredHeight: 1 * scaleRatio Layout.preferredHeight: 1 * scaleRatio
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 8 * scaleRatio Layout.topMargin: 8 * scaleRatio