* src/Text3.cpp: record undo in specialChar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-05-17 08:38:41 +00:00
parent 89b5802463
commit 4976f50634

View File

@ -244,6 +244,7 @@ namespace {
void specialChar(Cursor & cur, InsetSpecialChar::Kind kind) void specialChar(Cursor & cur, InsetSpecialChar::Kind kind)
{ {
recordUndo(cur);
cap::replaceSelection(cur); cap::replaceSelection(cur);
cur.insert(new InsetSpecialChar(kind)); cur.insert(new InsetSpecialChar(kind));
cur.posRight(); cur.posRight();