Skip to content

Commit

Permalink
Merge #2073: [GUI] Dashboard, fix type filtering disappearance.
Browse files Browse the repository at this point in the history
6dbe9ad GUI: Dashboard, fix type filtering disappearance. (furszy)

Pull request description:

  The combobox shouldn't get hide when there are transactions in the wallet, independently on the selected filter. If the user selects a type that it isn't in the wallet, the filter combobox will disappear, leaving the tx list empty and not allowing any other movement.

ACKs for top commit:
  random-zebra:
    utACK 6dbe9ad
  Fuzzbawls:
    utACK 6dbe9ad

Tree-SHA512: 2d95fff3f9a0d650c61f21d9cffce8b976274ef4cbd1df771b561f893f383c0a61a7eb93a47a17a25e8b0c349af44ce34f0b6913983dad7972b99b52219c6746
  • Loading branch information
Fuzzbawls committed Dec 19, 2020
2 parents 1f98c2b + 6dbe9ad commit 8d4f649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/pivx/dashboardwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ void DashboardWidget::onTxArrived(const QString& hash, const bool& isCoinStake,

void DashboardWidget::showList()
{
if (filter->rowCount() == 0) {
if (txModel->size() == 0) {
ui->emptyContainer->setVisible(true);
ui->listTransactions->setVisible(false);
ui->comboBoxSortType->setVisible(false);
Expand Down

0 comments on commit 8d4f649

Please sign in to comment.