aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-09-17 15:45:18 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-17 15:28:04 -0700
commita6e9a1eab561af3255d99d31011c57135a90ca3f (patch)
tree424a8843682411c072a2fddac6e89924994388d0 /qt-ui/mainwindow.cpp
parent7a90b9d7647537057f574916314a9f488e900e8a (diff)
downloadsubsurface-a6e9a1eab561af3255d99d31011c57135a90ca3f.tar.gz
Implement the TagFilter model.
This model accepts check / unchedk. Now, I need to also plug the result of the check / uncheck to the list model. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 8cdf6de88..ec5fbd00f 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -181,6 +181,7 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
void MainWindow::recreateDiveList()
{
ui.ListWidget->reload(DiveTripModel::CURRENT);
+ TagFilterModel::instance()->repopulate();
}
void MainWindow::current_dive_changed(int divenr)