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
@ -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…
x
Reference in New Issue
Block a user