summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/locationInformation.ui3
-rw-r--r--qt-ui/locationinformation.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/locationInformation.ui b/qt-ui/locationInformation.ui
index 34cc2d56b..e7ab45ce0 100644
--- a/qt-ui/locationInformation.ui
+++ b/qt-ui/locationInformation.ui
@@ -98,6 +98,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="modelColumn">
+ <number>0</number>
+ </property>
</widget>
</item>
</layout>
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.