mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix small redraw bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4026 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a5e70bd5ef
commit
c57ca65f78
@ -1,5 +1,9 @@
|
||||
2002-04-18 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insettabular.C (localDispatch): repaint the cell if it was unlocked.
|
||||
(unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
|
||||
redraw otherwise we won't redraw.
|
||||
|
||||
* insettext.C (draw): fixed the setting of LyXText::first_y it was
|
||||
not really right before, but I only discovered this with the last
|
||||
changes to Page up/down.
|
||||
|
@ -687,7 +687,6 @@ bool InsetTabular::unlockInsetInInset(BufferView * bv, UpdatableInset * inset,
|
||||
return false;
|
||||
if (the_locking_inset == inset) {
|
||||
the_locking_inset->insetUnlock(bv);
|
||||
the_locking_inset = 0;
|
||||
#ifdef WITH_WARNINGS
|
||||
#warning fix scrolling when cellinset has requested a scroll (Jug)!!!
|
||||
#endif
|
||||
@ -696,6 +695,8 @@ bool InsetTabular::unlockInsetInInset(BufferView * bv, UpdatableInset * inset,
|
||||
scroll(bv, 0.0F);
|
||||
#endif
|
||||
updateLocal(bv, CELL, false);
|
||||
// this has to be here otherwise we don't redraw the cell!
|
||||
the_locking_inset = 0;
|
||||
// showInsetCursor(bv, false);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user