mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
do not truncate .dat extension for wallets in gui
This commit is contained in:
parent
c948dc8f42
commit
fc7c32fc68
1 changed files with 1 additions and 5 deletions
|
@ -748,11 +748,7 @@ int WalletModel::getDefaultConfirmTarget() const
|
|||
QString WalletModel::getWalletName() const
|
||||
{
|
||||
LOCK(wallet->cs_wallet);
|
||||
QString walletName = QString::fromStdString(wallet->GetName());
|
||||
if (walletName.endsWith(".dat")) {
|
||||
walletName.truncate(walletName.size() - 4);
|
||||
}
|
||||
return walletName;
|
||||
return QString::fromStdString(wallet->GetName());
|
||||
}
|
||||
|
||||
bool WalletModel::isMultiwallet()
|
||||
|
|
Loading…
Add table
Reference in a new issue