forked from osmocom/wireshark
Ensure we always update the display filter when changing profile.
svn path=/trunk/; revision=34030
This commit is contained in:
parent
761149722e
commit
fe341f145a
|
@ -36,7 +36,7 @@
|
|||
#include "gtk/macros_dlg.h"
|
||||
#include "gtk/gtkglobals.h"
|
||||
|
||||
static void macros_post_update(void) {
|
||||
void macros_post_update(void) {
|
||||
g_free (cfile.dfilter);
|
||||
cfile.dfilter = NULL;
|
||||
g_signal_emit_by_name(main_display_filter_widget, "changed");
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#ifndef __MACROS_DLG_H__
|
||||
#define __MACROS_DLG_H__
|
||||
|
||||
void macros_post_update(void);
|
||||
void macros_init (void);
|
||||
void macros_dialog_cb(GtkWidget*, gpointer);
|
||||
|
||||
|
|
|
@ -3765,6 +3765,7 @@ void change_configuration_profile (const gchar *profile_name)
|
|||
|
||||
prefs_to_capture_opts();
|
||||
prefs_apply_all();
|
||||
macros_post_update();
|
||||
|
||||
/* Update window view and redraw the toolbar */
|
||||
update_main_window_title();
|
||||
|
|
Loading…
Reference in New Issue