mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[VDS] Fix search filter not being applied on refresh
This commit is contained in:
parent
68e4fa054d
commit
684e9abdc2
1 changed files with 1 additions and 3 deletions
|
|
@ -125,9 +125,7 @@ void VisualDeckStorageFolderDisplayWidget::continueDeckPass()
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool matches = index.data(VisualDeckStorageRoles::FilterMatchRole).toBool();
|
const bool matches = index.data(VisualDeckStorageRoles::FilterMatchRole).toBool();
|
||||||
if (matches == deckPreviewWidget->isHidden()) {
|
deckPreviewWidget->setVisible(matches);
|
||||||
deckPreviewWidget->setVisible(matches);
|
|
||||||
}
|
|
||||||
if (matches) {
|
if (matches) {
|
||||||
++visibleDeckCount;
|
++visibleDeckCount;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue