mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-31 05:08:35 +01:00
History, Coins, Xmr.to: double click row to open info dialog
This commit is contained in:
@@ -35,6 +35,14 @@ HistoryWidget::HistoryWidget(QWidget *parent)
|
||||
}
|
||||
});
|
||||
connect(ui->search, &QLineEdit::textChanged, this, &HistoryWidget::setSearchFilter);
|
||||
|
||||
connect(ui->history, &QTreeView::doubleClicked, [this](QModelIndex index){
|
||||
if (m_model == nullptr) return;
|
||||
if (!(m_model->flags(index) & Qt::ItemIsEditable)) {
|
||||
this->showTxDetails();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
void HistoryWidget::setModel(Coins *coins, TransactionHistoryProxyModel *model, TransactionHistory *txHistory)
|
||||
|
||||
Reference in New Issue
Block a user