diff --git a/electrum/gui/qml/components/WalletDetails.qml b/electrum/gui/qml/components/WalletSummary.qml similarity index 98% rename from electrum/gui/qml/components/WalletDetails.qml rename to electrum/gui/qml/components/WalletSummary.qml index 131a8af0e..cad0cb0b5 100644 --- a/electrum/gui/qml/components/WalletDetails.qml +++ b/electrum/gui/qml/components/WalletSummary.qml @@ -173,11 +173,9 @@ Item { id: piechart visible: Daemon.currentWallet.totalBalance.satsInt > 0 Layout.preferredWidth: parent.width - // Layout.preferredHeight: 200 implicitHeight: 200 innerOffset: 6 function updateSlices() { - console.log('update piechart, w='+width+',h='+height) var totalB = Daemon.currentWallet.totalBalance.satsInt var onchainB = Daemon.currentWallet.confirmedBalance.satsInt var frozenB = Daemon.currentWallet.frozenBalance.satsInt diff --git a/electrum/gui/qml/components/main.qml b/electrum/gui/qml/components/main.qml index 8783dbc4d..d162097f4 100644 --- a/electrum/gui/qml/components/main.qml +++ b/electrum/gui/qml/components/main.qml @@ -62,7 +62,7 @@ ApplicationWindow font.bold: true MouseArea { anchors.fill: parent - onClicked: walletDetails.toggle() + onClicked: walletSummary.toggle() } } @@ -121,8 +121,8 @@ ApplicationWindow } } - WalletDetails { - id: walletDetails + WalletSummary { + id: walletSummary Layout.preferredWidth: parent.width } }