* cur.insert does not set the update flags

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23246 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-26 13:09:06 +00:00
parent 2c62c9d91c
commit 8b42a021b2

View File

@ -546,6 +546,8 @@ bool InsetText::insertCompletion(Cursor & cur, docstring const & s,
BOOST_ASSERT(cur.bv().cursor() == cur); BOOST_ASSERT(cur.bv().cursor() == cur);
cur.insert(s); cur.insert(s);
cur.bv().cursor() = cur; cur.bv().cursor() = cur;
if (!(cur.disp_.update() & Update::Force))
cur.updateFlags(cur.disp_.update() | Update::Force | Update::SinglePar);
return true; return true;
} }