summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 8b52e6562..3f6bdaa54 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -2140,7 +2140,7 @@ void TagFilterModel::repopulate()
setStringList(list);
delete[] checkState;
checkState = new bool[list.count()];
- memset(checkState, false, list.count());
+ memset(checkState, true, list.count());
checkState[list.count()-1] = true;
}