mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix copy&paste bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1000b8d218
commit
1116115055
@ -945,7 +945,7 @@ pit_type LyXText::getPitNearY(BufferView & bv, int y)
|
||||
pit = last->first + 1;
|
||||
// and we are not at the last paragraph in the inset.
|
||||
if (pit == pars_.size())
|
||||
return it->first;
|
||||
return last->first;
|
||||
// then this is the paragraph we are looking for.
|
||||
// rebreak it and update the CoordCache.
|
||||
redoParagraph(bv, pit);
|
||||
|
Loading…
Reference in New Issue
Block a user