mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
a3d6098c8c
commit
b52b95f3ec
2 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="modelColumn">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue