mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Forgot to recalculate the cursor position as it is requested when calling
fitInsetCursor (fix #229). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4564ce04e8
commit
0f86536740
@ -1,3 +1,8 @@
|
||||
2002-05-03 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insettabular.C (fitInsetCursor): recalculate the cursor position
|
||||
if I request it.
|
||||
|
||||
2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* InsetgraphicsParams.[Ch]: whitespace.
|
||||
|
@ -1479,6 +1479,7 @@ void InsetTabular::fitInsetCursor(BufferView * bv) const
|
||||
|
||||
int const asc = lyxfont::maxAscent(font);
|
||||
int const desc = lyxfont::maxDescent(font);
|
||||
resetPos(bv);
|
||||
if (bv->fitLockedInsetCursor(cursor_.x(), cursor_.y(), asc, desc))
|
||||
need_update = FULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user