mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make double-clicking on the dive list bring up the dive editor
Now that the dive info window is read-only, we need to edit the dives some other way. We bring up a dive info edit dialog when you double-click on the dive list entry for that dive. I do want to have an "edit" button or keyboard shortcut or something too, though. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
842b05415f
commit
1efcf4538b
5 changed files with 128 additions and 71 deletions
2
main.c
2
main.c
|
@ -186,8 +186,6 @@ void update_dive(struct dive *new_dive)
|
|||
struct dive *old_dive = buffered_dive;
|
||||
|
||||
if (old_dive) {
|
||||
flush_dive_info_changes(old_dive);
|
||||
flush_dive_equipment_changes(old_dive);
|
||||
flush_divelist(old_dive);
|
||||
}
|
||||
if (new_dive) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue