Ensure we always update the display filter when changing profile.

svn path=/trunk/; revision=34030
This commit is contained in:
Stig Bjørlykke 2010-08-31 07:53:51 +00:00
parent 761149722e
commit fe341f145a
3 changed files with 3 additions and 1 deletions

View File

@ -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");

View File

@ -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);

View File

@ -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();