diff options
-rw-r--r-- | gtk/new_packet_list.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c index f4957121ca..46f2c1ce6b 100644 --- a/gtk/new_packet_list.c +++ b/gtk/new_packet_list.c @@ -256,6 +256,12 @@ new_packet_list_clear(void) new_packet_list_store_clear(packetlist); gtk_widget_queue_draw(packetlist->view); + /* XXX is this correct in all cases? + * Reset the sort column, use packetlist as model in case the list is frozen. + */ + gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(packetlist), + 0, GTK_SORT_ASCENDING); + } void |