mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Filter: don't reload filter after reloading dive list
The hidden_by_filter items are set on reload of the dive list. No point in reloading the filter again. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3003c6e1ee
commit
78d4a4ce36
1 changed files with 0 additions and 2 deletions
|
@ -69,7 +69,6 @@
|
|||
#include "qt-models/cylindermodel.h"
|
||||
#include "qt-models/divepicturemodel.h"
|
||||
#include "qt-models/diveplannermodel.h"
|
||||
#include "qt-models/filtermodels.h"
|
||||
#include "qt-models/tankinfomodel.h"
|
||||
#include "qt-models/weightsysteminfomodel.h"
|
||||
#include "qt-models/yearlystatisticsmodel.h"
|
||||
|
@ -423,7 +422,6 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
|
|||
void MainWindow::recreateDiveList()
|
||||
{
|
||||
diveList->reload();
|
||||
DiveTripModelBase::instance()->recalculateFilter();
|
||||
}
|
||||
|
||||
void MainWindow::configureToolbar()
|
||||
|
|
Loading…
Add table
Reference in a new issue