]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
MainWindow: allow selecting all files for (un)signed txs
authortobtoht <tob@featherwallet.org>
Sat, 17 Jun 2023 23:12:35 +0000 (01:12 +0200)
committertobtoht <tob@featherwallet.org>
Sat, 17 Jun 2023 23:12:35 +0000 (01:12 +0200)
src/MainWindow.cpp

index d5cb903e7c08c3605d3df516bcc61aa0d61462ef..8a175a2a3eaf6b2a5c08610f43668b59a568b461 100644 (file)
@@ -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();