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.
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
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;
}