summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationinformation.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-08-31 21:03:31 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 18:42:32 -0700
commitb52b95f3ec2e0dc730f991f25b7cefe30750cc72 (patch)
treeae95a28c4196f00fc89f56f965b081cdcd1a9ee7 /qt-ui/locationinformation.cpp
parenta3d6098c8ce7bee6841872153a85b573d583430d (diff)
downloadsubsurface-b52b95f3ec2e0dc730f991f25b7cefe30750cc72.tar.gz
Show the correct data on the Dive Site List
We where showing the UID, wich didn't made sense. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r--qt-ui/locationinformation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp
index 4a4fff088..616a7147e 100644
--- a/qt-ui/locationinformation.cpp
+++ b/qt-ui/locationinformation.cpp
@@ -34,6 +34,7 @@ LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBo
filter_model->setSourceModel(LocationInformationModel::instance());
filter_model->setFilterRow(filter_same_gps_cb);
ui.diveSiteListView->setModel(filter_model);
+ ui.diveSiteListView->setModelColumn(LocationInformationModel::NAME);
#ifndef NO_MARBLE
// Globe Management Code.