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>
This commit is contained in:
parent
522b922d2a
commit
2a58be6649
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user