diff options
Diffstat (limited to 'filter/rule-editor.c')
-rw-r--r-- | filter/rule-editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c index b14b265bb4..1c705a5e15 100644 --- a/filter/rule-editor.c +++ b/filter/rule-editor.c @@ -564,6 +564,7 @@ rule_editor_play_undo(RuleEditor *re) break; case RULE_EDITOR_LOG_REMOVE: printf("Undoing remove on rule '%s'\n", undo->rule->name); + gtk_object_ref((GtkObject *)undo->rule); rule_context_add_rule(re->context, undo->rule); rule_context_rank_rule(re->context, undo->rule, undo->rank); break; |