Skip to content

Commit

Permalink
[GUI] Fix Cold Staking address list
Browse files Browse the repository at this point in the history
Github-Pull: #2321
Rebased-From: 8afb350
  • Loading branch information
Fuzzbawls authored and furszy committed Apr 22, 2021
1 parent 1bc1b43 commit 1886dda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/pivx/coldstakingwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ void ColdStakingWidget::loadWalletModel()

addressTableModel = walletModel->getAddressTableModel();
addressesFilter = new AddressFilterProxyModel(AddressTableModel::ColdStaking, this);
addressesFilter->sort(sortType, sortOrder);
addressesFilter->setSourceModel(addressTableModel);
ui->listViewStakingAddress->setModelColumn(AddressTableModel::Address);
addressesFilter->sort(sortType, sortOrder);
ui->listViewStakingAddress->setModel(addressesFilter);
ui->listViewStakingAddress->setModelColumn(AddressTableModel::Address);

connect(txModel, &TransactionTableModel::txArrived, this, &ColdStakingWidget::onTxArrived);

Expand Down

0 comments on commit 1886dda

Please sign in to comment.