mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
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.
This commit is contained in:
parent
46880ed2fd
commit
17a6a21786
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue