aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qreg.c')
-rw-r--r--src/qreg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qreg.c b/src/qreg.c
index 9e19202..d0f3e6b 100644
--- a/src/qreg.c
+++ b/src/qreg.c
@@ -443,6 +443,8 @@ teco_qreg_radix_set_integer(teco_qreg_t *qreg, teco_int_t value, GError **error)
return FALSE;
}
+ if (qreg->must_undo) // FIXME
+ teco_undo_int(qreg->integer);
qreg->integer = value;
return TRUE;
}