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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user