diff options
Diffstat (limited to 'filter/rule-editor.c')
-rw-r--r-- | filter/rule-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c index 63986e6f2d..7f2d973954 100644 --- a/filter/rule-editor.c +++ b/filter/rule-editor.c @@ -519,7 +519,7 @@ rule_editor_add_undo(RuleEditor *re, int type, FilterRule *rule, int rank, int n { RuleEditorUndo *undo; - if (!re->undo_active && !enable_undo) { + if (!re->undo_active && enable_undo) { undo = g_malloc0(sizeof(*undo)); undo->rule = rule; undo->type = type; |