diff options
author | Robert Helling <helling@atdotde.de> | 2014-01-22 15:21:01 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-22 08:35:57 -0800 |
commit | f22428b345524a75527320bc9664ca2257ebe590 (patch) | |
tree | fc9673d15ffafbe11e1c44724677a073b609a7b5 | |
parent | b6a30dcdd3225e67e7eed7ead68c919c36243ffc (diff) | |
download | subsurface-f22428b345524a75527320bc9664ca2257ebe590.tar.gz |
Allow manually added dives to have their location changed
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index fc836f40b..0a66a227e 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -888,7 +888,7 @@ void MainTab::on_location_textChanged(const QString& text) // we are editing a trip dive_trip_t *currentTrip = *mainWindow()->dive_list()->selectedTrips().begin(); EDIT_TEXT(currentTrip->location, text); - } else if (editMode == DIVE || editMode == ADD) { + } else if (editMode == DIVE || editMode == ADD || editMode == MANUALLY_ADDED_DIVE) { if (!ui.coordinates->isModified() || ui.coordinates->text().trimmed().isEmpty()) { struct dive* dive; |