mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Repaint the dives in dive_list_update_dives() instead of in callers
Each caller ends up needing it, and I missed another one. So rather than update the other caller, just do it in dive_list_update_dives() and we can stop worrying about it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
98d556c6f6
commit
f7a36cfefd
2 changed files with 1 additions and 1 deletions
1
main.c
1
main.c
|
@ -166,7 +166,6 @@ static void file_open(GtkWidget *w, gpointer data)
|
|||
}
|
||||
g_slist_free(filenames);
|
||||
report_dives();
|
||||
repaint_dive();
|
||||
dive_list_update_dives(dive_list);
|
||||
}
|
||||
gtk_widget_destroy(dialog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue