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
@ -67,6 +67,7 @@ void dive_list_update_dives(struct DiveList dive_list)
|
||||
{
|
||||
gtk_list_store_clear(GTK_LIST_STORE(dive_list.model));
|
||||
fill_dive_list(GTK_LIST_STORE(dive_list.model));
|
||||
repaint_dive();
|
||||
}
|
||||
|
||||
struct DiveList dive_list_create(void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user