mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-21 17:20:37 +02:00
Transfer: export all key images by default
This commit is contained in:
parent
fed00a5662
commit
6dd7445938
@ -718,7 +718,7 @@ Rectangle {
|
|||||||
selectExisting: false
|
selectExisting: false
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
console.log(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl))
|
console.log(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl))
|
||||||
currentWallet.exportKeyImages(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl));
|
currentWallet.exportKeyImages(walletManager.urlToLocalPath(exportKeyImagesDialog.fileUrl), true);
|
||||||
}
|
}
|
||||||
onRejected: {
|
onRejected: {
|
||||||
console.log("Canceled");
|
console.log("Canceled");
|
||||||
|
@ -489,9 +489,9 @@ quint64 Wallet::daemonBlockChainTargetHeight() const
|
|||||||
return m_daemonBlockChainTargetHeight;
|
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)
|
bool Wallet::importKeyImages(const QString& path)
|
||||||
|
@ -206,7 +206,7 @@ public:
|
|||||||
Q_INVOKABLE void refreshHeightAsync();
|
Q_INVOKABLE void refreshHeightAsync();
|
||||||
|
|
||||||
//! export/import key images
|
//! 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);
|
Q_INVOKABLE bool importKeyImages(const QString& path);
|
||||||
|
|
||||||
//! refreshes the wallet
|
//! refreshes the wallet
|
||||||
|
Loading…
Reference in New Issue
Block a user