Beta-6 fixes

This commit is contained in:
tobtoht
2021-05-05 01:09:19 +02:00
parent d4cfa05157
commit 663960af2f
28 changed files with 201 additions and 95 deletions
+5 -1
View File
@@ -97,7 +97,11 @@ QString PageWalletFile::defaultWalletName() {
int count = 1;
QString walletName;
do {
walletName = QString("wallet_%1").arg(count);
QString walletStr = QString("wallet_%1");
if (m_fields->mode == WizardMode::CreateWalletFromDevice) {
walletStr = QString("ledger_%1");
}
walletName = walletStr.arg(count);
count++;
} while (this->walletPathExists(walletName));