diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-27 10:23:37 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 17:30:13 +0100 |
commit | 2a58be66498907c972fbd863174a30fa8235f172 (patch) | |
tree | ad2880650ffce876baef0b457e07b5bad9901607 /qt-models | |
parent | 522b922d2a7664d1e83239b262ea687681d6a731 (diff) | |
download | subsurface-2a58be66498907c972fbd863174a30fa8235f172.tar.gz |
filter: fix trip header bug
With commit 5962f00679fae555, a well known problem was introduced.
Incorrect width setting for the spanning trip lines. And as there
is even a specific functon for that, just call this.
The reason the mentioned commit introduces this, is that
invalidate() causes layoutChanged signals, and invalidateFilter()
does not.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/filtermodels.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/filtermodels.cpp b/qt-models/filtermodels.cpp index 793b707ec..925931480 100644 --- a/qt-models/filtermodels.cpp +++ b/qt-models/filtermodels.cpp @@ -441,6 +441,7 @@ void MultiFilterSortModel::myInvalidate() divesDisplayed = 0; invalidateFilter(); + MainWindow::instance()->dive_list()->fixMessyQtModelBehaviour(); // first make sure the trips are no longer shown as selected // (but without updating the selection state of the dives... this just cleans |