From 425468b2bbd5084ddccb8d8d41e4744347c11a9c Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sun, 18 Jun 2023 01:12:35 +0200 Subject: [PATCH] MainWindow: allow selecting all files for (un)signed txs --- src/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index d5cb903..8a175a2 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1192,7 +1192,7 @@ void MainWindow::importOutputs() { } void MainWindow::loadUnsignedTx() { - QString fn = QFileDialog::getOpenFileName(this, "Select transaction to load", QDir::homePath(), "Transaction (*unsigned_monero_tx)"); + QString fn = QFileDialog::getOpenFileName(this, "Select transaction to load", QDir::homePath(), "Transaction (*unsigned_monero_tx);;All Files (*)"); if (fn.isEmpty()) return; UnsignedTransaction *tx = m_wallet->loadTxFile(fn); auto err = m_wallet->errorString(); @@ -1221,7 +1221,7 @@ void MainWindow::loadUnsignedTxFromClipboard() { } void MainWindow::loadSignedTx() { - QString fn = QFileDialog::getOpenFileName(this, "Select transaction to load", QDir::homePath(), "Transaction (*signed_monero_tx)"); + QString fn = QFileDialog::getOpenFileName(this, "Select transaction to load", QDir::homePath(), "Transaction (*signed_monero_tx);;All Files (*)"); if (fn.isEmpty()) return; PendingTransaction *tx = m_wallet->loadSignedTxFile(fn); auto err = m_wallet->errorString();