mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +00:00
MainWindow: allow selecting all files on keyimage/outputs import
This commit is contained in:
parent
88d399c2ef
commit
afda69e090
1 changed files with 2 additions and 2 deletions
|
@ -1156,7 +1156,7 @@ void MainWindow::exportKeyImages() {
|
|||
}
|
||||
|
||||
void MainWindow::importKeyImages() {
|
||||
QString fn = QFileDialog::getOpenFileName(this, "Import key image file", QDir::homePath(), "Key Images (*_keyImages)");
|
||||
QString fn = QFileDialog::getOpenFileName(this, "Import key image file", QDir::homePath(), "Key Images (*_keyImages);;All Files (*)");
|
||||
if (fn.isEmpty()) return;
|
||||
bool r = m_wallet->importKeyImages(fn);
|
||||
if (!r) {
|
||||
|
@ -1180,7 +1180,7 @@ void MainWindow::exportOutputs() {
|
|||
}
|
||||
|
||||
void MainWindow::importOutputs() {
|
||||
QString fn = QFileDialog::getOpenFileName(this, "Import outputs file", QDir::homePath(), "Outputs (*_outputs)");
|
||||
QString fn = QFileDialog::getOpenFileName(this, "Import outputs file", QDir::homePath(), "Outputs (*_outputs);;All Files (*)");
|
||||
if (fn.isEmpty()) return;
|
||||
bool r = m_wallet->importOutputs(fn);
|
||||
if (!r) {
|
||||
|
|
Loading…
Reference in a new issue