From a6e9a1eab561af3255d99d31011c57135a90ca3f Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 17 Sep 2014 15:45:18 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.cpp') 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) -- cgit v1.2.3-70-g09d2