From daa5c984fac18983d7c759b6c6a691773cb74e13 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 3 Feb 2023 13:49:21 +0100 Subject: [PATCH] qml: remove leftovers WalletMainView --- .../gui/qml/components/WalletMainView.qml | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/electrum/gui/qml/components/WalletMainView.qml b/electrum/gui/qml/components/WalletMainView.qml index 731d9ed07..09fe37deb 100644 --- a/electrum/gui/qml/components/WalletMainView.qml +++ b/electrum/gui/qml/components/WalletMainView.qml @@ -169,17 +169,7 @@ Item { mainView.menu.y = mainView.height - mainView.menu.height } } - // Rectangle { - // Layout.fillWidth: false - // Layout.preferredWidth: 2 - // Layout.preferredHeight: parent.height * 2/3 - // Layout.alignment: Qt.AlignVCenter - // color: constants.darkerBackground - // } - // Item { - // visible: !Daemon.currentWallet - // Layout.fillWidth: true - // } + FlatButton { visible: Daemon.currentWallet Layout.fillWidth: true @@ -191,14 +181,7 @@ Item { dialog.open() } } - // Rectangle { - // visible: Daemon.currentWallet - // Layout.fillWidth: false - // Layout.preferredWidth: 2 - // Layout.preferredHeight: parent.height * 2/3 - // Layout.alignment: Qt.AlignVCenter - // color: constants.darkerBackground - // } + FlatButton { visible: Daemon.currentWallet Layout.fillWidth: true