subsurface/commands
Berthold Stoeger ab6cac9799 media: give newly created dive sites a name
When adding a picture with GPS information, a dive site was added
if the dive didn't have any. The dive site had the empty string as
name, leading to a confusing UI experience.

We could catch the empty string at numerous places and replace it
by some dummy string. This commit goes the distinctly less invasive
route and adds the dive site with the "unnamed dive site" string
(translated to the user language) as name.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-05-08 08:51:37 -07:00
..
CMakeLists.txt undo: implement undo of setting a picture time by drag&drop 2020-05-06 13:58:09 -07:00
command.cpp undo: make adding of pictures undoable 2020-05-06 13:58:09 -07:00
command.h undo: make adding of pictures undoable 2020-05-06 13:58:09 -07:00
command_base.cpp undo infrastructure: improve undo command texts 2020-03-10 09:25:57 -07:00
command_base.h cleanup: move dive_table from dive.h to divelist.h 2020-05-01 09:42:31 -07:00
command_divelist.cpp selection: add selection flag for trips 2020-05-03 15:02:21 -07:00
command_divelist.h Cleanup: use getDiveSelection() for shifting time 2020-03-06 10:00:13 +01:00
command_divesite.cpp translations: qualify tr function to get correct context 2020-03-22 12:02:48 -07:00
command_divesite.h undo: implement ApplyGPSFixes undo command 2020-03-09 12:41:57 -07:00
command_edit.cpp undo: update cylinder related info when editing cylinder data 2020-05-06 11:44:22 -07:00
command_edit.h undo: more fine-grained editing of cylinder 2020-04-07 00:13:35 +02:00
command_edit_trip.cpp translations: qualify tr function to get correct context 2020-03-22 12:02:48 -07:00
command_edit_trip.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_event.cpp undo: reload dive on removal of gas-switch 2020-04-07 00:13:35 +02:00
command_event.h undo: reload dive on removal of gas-switch 2020-04-07 00:13:35 +02:00
command_pictures.cpp media: give newly created dive sites a name 2020-05-08 08:51:37 -07:00
command_pictures.h undo: make adding of pictures undoable 2020-05-06 13:58:09 -07:00