mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge the dive sites selected.
Wee. :) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e36e4d1faa
commit
1ef20ee5d8
3 changed files with 22 additions and 3 deletions
|
@ -70,7 +70,7 @@ void LocationInformationWidget::mergeSelectedDiveSites() {
|
|||
Q_FOREACH(const QModelIndex& idx, selection) {
|
||||
selected_dive_sites[i] = (uint32_t) idx.data(LocationInformationModel::UUID_ROLE).toInt();
|
||||
}
|
||||
merge_dive_sites(selected_dive_sites, i);
|
||||
merge_dive_sites(displayed_dive_site.uuid, selected_dive_sites, i);
|
||||
free(selected_dive_sites);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue