mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
MainWindow: allow selecting all files for (un)signed txs
This commit is contained in:
parent
9e59d31373
commit
425468b2bb
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue