Skip to content

Commit 5fd84aa

Browse files
Merge #7297: fix(qt): make governance search case-insensitive
c318e57 fix(qt): make governance search case-insensitive (PastaClaw) Pull request description: # PR description ## Summary - Make the Governance proposals title filter case-insensitive. - Match the behavior already used by other Qt search/filter views. Closes #7287. ## Validation - `git diff --check` - Pre-PR review gate: ship - Not run: full build / GUI smoke test; no build directory was available in this worktree. ACKs for top commit: PastaPastaPasta: utACK c318e57 knst: ACK c318e57 Tree-SHA512: 3cc78a8cd43769ecd61c5fcb8af3c1825a98d86cdf2e74f96e6063444be684c547c5056ee797be8e01059065d18222faab99af3f842e9c2f1e475f40902cf9e0
2 parents 8c42e82 + c318e57 commit 5fd84aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/qt/proposallist.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ ProposalList::ProposalList(QWidget* parent) :
8181
proposalModelProxy->setSourceModel(proposalModel);
8282
proposalModelProxy->setSortRole(Qt::EditRole);
8383
proposalModelProxy->setFilterKeyColumn(ProposalModel::Column::TITLE); // filter by title column...
84+
proposalModelProxy->setFilterCaseSensitivity(Qt::CaseInsensitive);
8485
connect(ui->filterLineEdit, &QLineEdit::textChanged, proposalModelProxy, &QSortFilterProxyModel::setFilterFixedString);
8586

8687
// Changes to number of rows should update proposal count display.

0 commit comments

Comments
 (0)