[ui] filter with viewIds only when displaying view ids

This commit is contained in:
Loïc Vital 2022-11-18 10:35:17 +01:00
parent ac427d378c
commit 0429accd79

View file

@ -204,7 +204,12 @@ Panel {
id: sortedModel
model: m.viewpoints
sortRole: "path.basename"
filters: [
filters: displayViewIdsAction.checked ? filtersWithViewIds : filtersBasic
property var filtersBasic: [
{role: "path", value: searchBar.text},
{role: "viewId.isReconstructed", value: reconstructionFilter}
]
property var filtersWithViewIds: [
[
{role: "path", value: searchBar.text},
{role: "viewId.asString", value: searchBar.text}