mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Remove setBuffer call in Cursor::push.
This is potentially slow. It also should be unnecessary after some of JMarc's recent commits. See bug #13050.
This commit is contained in:
parent
61181a3977
commit
66cfc6af3c
@ -903,7 +903,8 @@ void Cursor::pop()
|
||||
void Cursor::push(Inset & inset)
|
||||
{
|
||||
push_back(CursorSlice(inset));
|
||||
inset.setBuffer(*buffer());
|
||||
// See bug #13050
|
||||
// inset.setBuffer(*buffer());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user