mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
filter: fix trip header bug
With commit 5962f00679
, 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>
This commit is contained in:
parent
522b922d2a
commit
2a58be6649
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ void MultiFilterSortModel::myInvalidate()
|
||||||
divesDisplayed = 0;
|
divesDisplayed = 0;
|
||||||
|
|
||||||
invalidateFilter();
|
invalidateFilter();
|
||||||
|
MainWindow::instance()->dive_list()->fixMessyQtModelBehaviour();
|
||||||
|
|
||||||
// first make sure the trips are no longer shown as selected
|
// first make sure the trips are no longer shown as selected
|
||||||
// (but without updating the selection state of the dives... this just cleans
|
// (but without updating the selection state of the dives... this just cleans
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue