mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Cursor::insert(): no reason to exclude mathed. Non willing math insets (MathChar) should provide a stub method for setBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23326 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
78d63575ca
commit
380ffa0c76
@ -1023,10 +1023,9 @@ void Cursor::insert(Inset * inset)
|
||||
{
|
||||
if (inMathed())
|
||||
insert(MathAtom(inset));
|
||||
else {
|
||||
else
|
||||
text()->insertInset(*this, inset);
|
||||
inset->setBuffer(bv_->buffer());
|
||||
}
|
||||
inset->setBuffer(bv_->buffer());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user