summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-07-18 15:29:13 +0000
committerGerald Combs <gerald@wireshark.org>2012-07-18 15:29:13 +0000
commite1bf3c011e78feb62a8583ef10f5d4c711cfdcaa (patch)
treed5bfd9302ddc30370713a245c0a3a0fa2ba2bdfe
parent1f37a8cf14ca63e7980694fc7807cb5a7d91dc97 (diff)
downloadwireshark-e1bf3c011e78feb62a8583ef10f5d4c711cfdcaa.tar.gz
Fill in our display filter after we open a file.
svn path=/trunk/; revision=43785
-rw-r--r--ui/gtk/capture_file_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/capture_file_dlg.c b/ui/gtk/capture_file_dlg.c
index 795ef395af..41677abaa7 100644
--- a/ui/gtk/capture_file_dlg.c
+++ b/ui/gtk/capture_file_dlg.c
@@ -663,6 +663,7 @@ file_open_cmd(GtkWidget *w _U_)
if any; we can write over cf_name, which is a good thing, given that
"get_dirname()" does write over its argument. */
set_last_open_dir(get_dirname(file_name->str));
+ gtk_entry_set_text(GTK_ENTRY(main_display_filter_widget), display_filter->str);
}
g_string_free(file_name, TRUE);
g_string_free(display_filter, TRUE);