mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Allow filtering by proTxHash on DIP3 MN tab (#2532)
This commit is contained in:
parent
2161199210
commit
9100c69eb9
@ -454,6 +454,7 @@ void MasternodeList::updateDIP3List()
|
||||
operatorRewardStr = tr("NONE");
|
||||
}
|
||||
QTableWidgetItem* operatorRewardItem = new QTableWidgetItem(operatorRewardStr);
|
||||
QTableWidgetItem* proTxHashItem = new QTableWidgetItem(QString::fromStdString(dmn->proTxHash.ToString()));
|
||||
|
||||
if (strCurrentFilterDIP3 != "") {
|
||||
strToFilter = addressItem->text() + " " +
|
||||
@ -463,12 +464,11 @@ void MasternodeList::updateDIP3List()
|
||||
lastPaidItem->text() + " " +
|
||||
nextPaymentItem->text() + " " +
|
||||
payeeItem->text() + " " +
|
||||
operatorRewardItem->text();
|
||||
operatorRewardItem->text() + " " +
|
||||
proTxHashItem->text();
|
||||
if (!strToFilter.contains(strCurrentFilterDIP3)) return;
|
||||
}
|
||||
|
||||
QTableWidgetItem* proTxHashItem = new QTableWidgetItem(QString::fromStdString(dmn->proTxHash.ToString()));
|
||||
|
||||
ui->tableWidgetMasternodesDIP3->insertRow(0);
|
||||
ui->tableWidgetMasternodesDIP3->setItem(0, 0, addressItem);
|
||||
ui->tableWidgetMasternodesDIP3->setItem(0, 1, statusItem);
|
||||
|
Loading…
Reference in New Issue
Block a user