TitleBar: show wallet name

This commit is contained in:
selsta
2019-09-05 01:31:41 +02:00
parent a267712d10
commit 5f81b573c0
2 changed files with 20 additions and 0 deletions

View File

@@ -309,6 +309,7 @@ ApplicationWindow {
middlePanel.getProofClicked.disconnect(handleGetProof);
middlePanel.checkProofClicked.disconnect(handleCheckProof);
appWindow.walletName = "";
currentWallet = undefined;
appWindow.showProcessingSplash(qsTr("Closing wallet..."));
@@ -1925,6 +1926,7 @@ ApplicationWindow {
TitleBar {
id: titleBar
visible: persistentSettings.customDecorations && middlePanel.state !== "Merchant"
walletName: appWindow.walletName
anchors.left: parent.left
anchors.right: parent.right
onCloseClicked: appWindow.close();