mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly refresh dive site list
And also show a warning to the user saying that that action is non-cancelable. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1ef20ee5d8
commit
2da439f34c
2 changed files with 11 additions and 1 deletions
|
@ -292,7 +292,7 @@ void merge_dive_sites(uint32_t ref, uint32_t* uuids, int count)
|
|||
}
|
||||
}
|
||||
|
||||
for(int i = 0; i < count; i++) {
|
||||
for(i = 0; i < count; i++) {
|
||||
if (uuids[i] == ref)
|
||||
continue;
|
||||
delete_dive_site(uuids[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue