diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-05-26 18:03:37 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-26 21:49:19 -0700 |
commit | c6783739c909991b30e95c8fd16dc5bc8ca4a409 (patch) | |
tree | cc90f5fae17801ab078b9ebde7e6ffd1b86540a9 /qt-ui | |
parent | ffffccee9362cbbdf05194b48f11fc55b651b847 (diff) | |
download | subsurface-c6783739c909991b30e95c8fd16dc5bc8ca4a409.tar.gz |
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 <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/filtermodels.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |