diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-25 16:01:28 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-25 16:06:07 +0200 |
commit | 17a6a217867603f349de676739f072c789c3918f (patch) | |
tree | 008caec675a67ac1efc0832b7426b43b7147eec8 /src/qt | |
parent | 46880ed2fd961c29b5fe4f841c747951bc706912 (diff) |
qt: Make it possible to show details for multiple transactions
A small GUI annoyance for me has always been that it's impossible to
have multiple transaction detail windows open, for example to compare
transactions.
This patch makes the window non-modal so that it is possible to open
transaction details at will.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactionview.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index a352228c36..eb6111e682 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -478,8 +478,9 @@ void TransactionView::showDetails() QModelIndexList selection = transactionView->selectionModel()->selectedRows(); if(!selection.isEmpty()) { - TransactionDescDialog dlg(selection.at(0)); - dlg.exec(); + TransactionDescDialog *dlg = new TransactionDescDialog(selection.at(0)); + dlg->setAttribute(Qt::WA_DeleteOnClose); + dlg->show(); } } |