aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-editor.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2001-10-29 08:51:42 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-29 08:51:42 +0800
commit96df1d41383b092a7f5cc07634a7699e3210cc26 (patch)
treefe8db0eba5c5562b078fce74c31c893960e4893c /filter/rule-editor.c
parente554710d002f2d1843c9783cd2a727ce7dd51af2 (diff)
downloadgsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.tar
gsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.tar.gz
gsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.tar.bz2
gsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.tar.lz
gsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.tar.xz
gsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.tar.zst
gsoc2013-evolution-96df1d41383b092a7f5cc07634a7699e3210cc26.zip
Fix enable undo logic.
* rule-editor.c (rule_editor_add_undo): Fix enable undo logic. svn path=/trunk/; revision=14308
Diffstat (limited to 'filter/rule-editor.c')
-rw-r--r--filter/rule-editor.c2
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;