main: add translation to primary account only in subaddressaccount 0

This commit is contained in:
rating89us 2020-09-13 09:07:41 +02:00 committed by GitHub
parent 41e1908a42
commit 5393f4688c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1630,7 +1630,7 @@ ApplicationWindow {
currentAccountLabel: {
if (currentWallet) {
var accountLabel = currentWallet.getSubaddressLabel(currentWallet.currentSubaddressAccount, 0);
if (accountLabel === "Primary account") {
if (accountLabel === "Primary account" && currentWallet.currentSubaddressAccount == 0) {
//add translation
return qsTr("Primary account") + translationManager.emptyString;
} else {