mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +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.
(cherry picked from commit 66cfc6af3c
)
This commit is contained in:
parent
b39fb17316
commit
46d1d6e0d3
@ -903,7 +903,8 @@ void Cursor::pop()
|
|||||||
void Cursor::push(Inset & inset)
|
void Cursor::push(Inset & inset)
|
||||||
{
|
{
|
||||||
push_back(CursorSlice(inset));
|
push_back(CursorSlice(inset));
|
||||||
inset.setBuffer(*buffer());
|
// See bug #13050
|
||||||
|
// inset.setBuffer(*buffer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,6 +52,8 @@ What's new
|
|||||||
- Fix bug where the dialog asking for saving unapplied changes on buffer change
|
- Fix bug where the dialog asking for saving unapplied changes on buffer change
|
||||||
popped up twice, or sometimes not at all (bug 12954).
|
popped up twice, or sometimes not at all (bug 12954).
|
||||||
|
|
||||||
|
- Improve performance when selecting text on less powerful systems (bug 13050).
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user