Clear table, reset log on disconnect
[fw/altos] / aoview / aoview_table.c
index e55f8f5070ffce5cb4b64f1e4d9a3f9af66342a4..b3fc6a47c133925d181fbd0e19ff95e343f91d2f 100644 (file)
@@ -51,6 +51,12 @@ aoview_table_finish(void)
        gtk_tree_view_columns_autosize(dataview);
 }
 
+void
+aoview_table_clear(void)
+{
+       gtk_tree_view_set_model(dataview, NULL);
+}
+
 void
 aoview_table_init(GladeXML *xml)
 {