mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Implement Close menu option that allows closing the data file
This requires some helper routines that allow us to clear out all the widgets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
78c5aa9f07
commit
a8fd77865c
5 changed files with 83 additions and 2 deletions
|
|
@ -1612,3 +1612,9 @@ GtkWidget *equipment_widget(int w_idx)
|
|||
|
||||
return vbox;
|
||||
}
|
||||
|
||||
void clear_equipment_widgets()
|
||||
{
|
||||
gtk_list_store_clear(cylinder_list[W_IDX_PRIMARY].model);
|
||||
gtk_list_store_clear(weightsystem_list[W_IDX_PRIMARY].model);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue