mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Cleanup: remove outdated comment
Remove a comment which is outdated in two ways: 1) The global variable "displayed_dive_site" was not used at all. 2) The location box cannot be used to rename dive sites. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ebd6d4fc45
commit
f0e349cdd6
1 changed files with 0 additions and 2 deletions
|
@ -693,8 +693,6 @@ uint32_t MainTab::updateDiveSite(uint32_t pickedUuid, dive *d)
|
|||
|
||||
newDs = get_dive_site_by_uuid(pickedUuid);
|
||||
|
||||
// Copy everything from the displayed_dive_site, so we have the latitude, longitude, notes, etc.
|
||||
// The user *might* be using wrongly the 'choose dive site' just to edit the name of it, sigh.
|
||||
if (origDs) {
|
||||
if(createdNewDive) {
|
||||
copy_dive_site(origDs, newDs);
|
||||
|
|
Loading…
Reference in a new issue