forked from osmocom/wireshark
Fix "Gtk-CRITICAL **: gtk_tree_selection_get_selected: assertion
`selection->type != GTK_SELECTION_MULTIPLE' failed" error when opening the User Specified Decodes with multiple decodes setup. The problem is caused by the selection mode for the list being set to multiple. I changed it to none so that the user doesn't get the false impression that you can select only certain items and clear them (the clear button clears them all). svn path=/trunk/; revision=21287
This commit is contained in:
parent
763a80f5bb
commit
2ec727ba76
|
@ -570,7 +570,7 @@ decode_show_cb (GtkWidget * w _U_, gpointer data _U_)
|
|||
gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(list), TRUE);
|
||||
gtk_tree_view_set_headers_clickable(GTK_TREE_VIEW(list), FALSE);
|
||||
gtk_tree_selection_set_mode(gtk_tree_view_get_selection(list),
|
||||
GTK_SELECTION_MULTIPLE);
|
||||
GTK_SELECTION_NONE);
|
||||
|
||||
for (column = 0; column < E_LIST_D_COLUMNS; column++) {
|
||||
renderer = gtk_cell_renderer_text_new();
|
||||
|
|
Loading…
Reference in New Issue