aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-11-19 10:11:56 -0500
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-11-19 10:11:56 -0500
commit1efcf4538b8a034e8b288d5b9c375ba99b1d845f (patch)
tree71f9227a97e3311fd2cc1e32033f33b7d1a04fed /main.c
parent842b05415fac862e73cdbf3446dc801dbd2c156a (diff)
downloadsubsurface-1efcf4538b8a034e8b288d5b9c375ba99b1d845f.tar.gz
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>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.c b/main.c
index 9aaa5d1f4..d77fcd2d9 100644
--- a/main.c
+++ b/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) {