diff options
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 555a21e8c5..795302be58 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -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() |