Skip to content

Commit

Permalink
Logbook: Fixed the filter color does not change when the item has bee…
Browse files Browse the repository at this point in the history
…n deleted
  • Loading branch information
foldynl committed Sep 27, 2024
1 parent 6874ed9 commit 256c74c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/LogbookWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ void LogbookWidget::refreshClubFilter()
ui->clubFilter->addItems(QStringList(tr("Club")) << MembershipQE::instance()->getEnabledClubLists());
ui->clubFilter->setCurrentText(member);
ui->clubFilter->blockSignals(false);
colorsFilterWidget(ui->clubFilter);
}

void LogbookWidget::refreshUserFilter()
Expand All @@ -444,6 +445,7 @@ void LogbookWidget::refreshUserFilter()
userFilterModel->refresh();
ui->userFilter->setCurrentText(userFilterString);
ui->userFilter->blockSignals(false);
colorsFilterWidget(ui->userFilter);

filterTable();
}
Expand Down Expand Up @@ -684,7 +686,7 @@ void LogbookWidget::updateTable()
countryModel->refresh();
ui->countryFilter->setCurrentText(country);
ui->countryFilter->blockSignals(false);

colorsFilterWidget(ui->countryFilter);
emit logbookUpdated();
}

Expand Down

0 comments on commit 256c74c

Please sign in to comment.