From 646d3394d39bdd7c3ff5a5abddb54367a1980b6c Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 3 Dec 2019 11:53:12 +0000 Subject: Wallet: persistent subaddress account selection --- LeftPanel.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 308e1954..959f5189 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -40,8 +40,8 @@ import "components/effects/" as MoneroEffects Rectangle { id: panel - property int currentAccountIndex: 0 - property string currentAccountLabel: "Primary account" + property int currentAccountIndex + property alias currentAccountLabel: accountLabel.text property string balanceString: "?.??" property string balanceUnlockedString: "?.??" property string balanceFiatString: "?.??" @@ -184,7 +184,7 @@ Rectangle { MoneroComponents.Label { fontSize: 12 id: accountIndex - text: qsTr("Account") + " #" + currentAccountIndex + text: qsTr("Account") + translationManager.emptyString + " #" + currentAccountIndex color: MoneroComponents.Style.blackTheme ? "white" : "black" anchors.left: parent.left anchors.leftMargin: 60 @@ -204,7 +204,6 @@ Rectangle { fontSize: 16 id: accountLabel textWidth: 170 - text: currentAccountLabel color: MoneroComponents.Style.blackTheme ? "white" : "black" anchors.left: parent.left anchors.leftMargin: 60 -- cgit v1.2.3