mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
* 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:
parent
2c62c9d91c
commit
8b42a021b2
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user