From c6783739c909991b30e95c8fd16dc5bc8ca4a409 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 26 May 2015 18:03:37 -0300 Subject: Expand trips that are filtered on dive_site_manage While filtering we would have trips that were collapsed, but this doesn't really make much sense while managing dive_sites. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/filtermodels.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/filtermodels.cpp b/qt-ui/filtermodels.cpp index 20bb6312e..f63ec85b0 100644 --- a/qt-ui/filtermodels.cpp +++ b/qt-ui/filtermodels.cpp @@ -375,6 +375,10 @@ void MultiFilterSortModel::myInvalidate() } emit filterFinished(); + + if (curr_dive_site) { + dlv->expandAll(); + } } void MultiFilterSortModel::addFilterModel(MultiFilterInterface *model) -- cgit v1.2.3-70-g09d2