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>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="modelColumn">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|
|
@ -34,6 +34,7 @@ LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBo
|
||||||
filter_model->setSourceModel(LocationInformationModel::instance());
|
filter_model->setSourceModel(LocationInformationModel::instance());
|
||||||
filter_model->setFilterRow(filter_same_gps_cb);
|
filter_model->setFilterRow(filter_same_gps_cb);
|
||||||
ui.diveSiteListView->setModel(filter_model);
|
ui.diveSiteListView->setModel(filter_model);
|
||||||
|
ui.diveSiteListView->setModelColumn(LocationInformationModel::NAME);
|
||||||
|
|
||||||
#ifndef NO_MARBLE
|
#ifndef NO_MARBLE
|
||||||
// Globe Management Code.
|
// Globe Management Code.
|
||||||
|
|
Loading…
Reference in a new issue