Changeset 2a58be6 in subsurface


Ignore:
Timestamp:
Dec 28, 2017, 8:30:13 AM (4 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
34c3818
Parents:
522b922
git-author:
Jan Mulder <jlmulder@…> (12/27/17 01:23:37)
git-committer:
Jan Mulder <jlmulder@…> (12/28/17 08:30:13)
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-models/filtermodels.cpp

    r522b922 r2a58be6  
    442442
    443443        invalidateFilter();
     444        MainWindow::instance()->dive_list()->fixMessyQtModelBehaviour();
    444445
    445446        // first make sure the trips are no longer shown as selected
Note: See TracChangeset for help on using the changeset viewer.