summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 17:42:56 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 14:58:56 -0700
commit14bc7dfeeb7c15fc5bbaa97726cc0d232cc596fc (patch)
tree3606170e3ac223218e562fc6bfbe750e888eaa50
parentfd1cc4ea2d6e93e673807ca7a54fdcb3fa08dcf9 (diff)
downloadsubsurface-14bc7dfeeb7c15fc5bbaa97726cc0d232cc596fc.tar.gz
Repopulate the LocationFilter when lading a dive file.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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 1ad8f93b3..c9515af82 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -183,6 +183,7 @@ void MainWindow::recreateDiveList()
ui.ListWidget->reload(DiveTripModel::CURRENT);
TagFilterModel::instance()->repopulate();
BuddyFilterModel::instance()->repopulate();
+ LocationFilterModel::instance()->repopulate();
}
void MainWindow::current_dive_changed(int divenr)