mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 01:37:53 +00:00
view-only: set default wallet name
This commit is contained in:
parent
a7d58775c0
commit
7e74d0e1d1
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ ViewOnlyDialog::ViewOnlyDialog(Wallet *wallet, QWidget *parent)
|
|||
}
|
||||
|
||||
void ViewOnlyDialog::onWriteViewOnlyWallet(){
|
||||
QString fn = QFileDialog::getSaveFileName(this, "Save .keys wallet file", Utils::defaultWalletDir(), "Monero wallet (*.keys)");
|
||||
QDir walletDir = QDir(Utils::defaultWalletDir());
|
||||
QString fn = QFileDialog::getSaveFileName(this, "Save .keys wallet file", walletDir.filePath(QString("%1_view_only").arg(m_wallet->walletName())), "Monero wallet (*.keys)");
|
||||
if (fn.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue