From b8995ea496ae6d027962c106762b5f3b2c736250 Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Tue, 2 May 2017 09:54:59 +0100 Subject: [PATCH] Fix #442: Path filter combobox not initialised --- src/ui_pathsel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui_pathsel.c b/src/ui_pathsel.c index 8359f50e..88f39247 100644 --- a/src/ui_pathsel.c +++ b/src/ui_pathsel.c @@ -1146,6 +1146,9 @@ GtkWidget *path_selection_new_with_files(GtkWidget *entry, const gchar *path, store = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING); dd->filter_combo = gtk_combo_box_new_with_model_and_entry(GTK_TREE_MODEL(store)); + gtk_combo_box_set_entry_text_column(GTK_COMBO_BOX(dd->filter_combo), + FILTER_COLUMN_FILTER); + g_object_unref(store); gtk_cell_layout_clear(GTK_CELL_LAYOUT(dd->filter_combo)); renderer = gtk_cell_renderer_text_new(); -- 2.20.1