1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-28 09:31:37 +01:00

Merge pull request #3282

6dd7445 Transfer: export all key images by default (benevanoff)
This commit is contained in:
luigi1111 2021-09-05 12:51:53 -04:00
commit d93af5a469
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
3 changed files with 4 additions and 4 deletions

View File

@ -1079,7 +1079,7 @@ Rectangle {
selectExisting: false
onAccepted: {
console.log(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl))
currentWallet.exportKeyImages(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl));
currentWallet.exportKeyImages(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl), true);
}
onRejected: {
console.log("Canceled");

View File

@ -489,9 +489,9 @@ quint64 Wallet::daemonBlockChainTargetHeight() const
return m_daemonBlockChainTargetHeight;
}
bool Wallet::exportKeyImages(const QString& path)
bool Wallet::exportKeyImages(const QString& path, bool all)
{
return m_walletImpl->exportKeyImages(path.toStdString());
return m_walletImpl->exportKeyImages(path.toStdString(), all);
}
bool Wallet::importKeyImages(const QString& path)

View File

@ -205,7 +205,7 @@ public:
Q_INVOKABLE void refreshHeightAsync();
//! export/import key images
Q_INVOKABLE bool exportKeyImages(const QString& path);
Q_INVOKABLE bool exportKeyImages(const QString& path, bool all = false);
Q_INVOKABLE bool importKeyImages(const QString& path);
//! refreshes the wallet