mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Don't remove cell selections after fontchange.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3574 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5b947b23c
commit
4a5b7a5952
@ -2,6 +2,8 @@
|
||||
|
||||
* insettabular.C (draw): clear the parts around a cellinset ALWAYS
|
||||
and also above (was missing).
|
||||
(updateLocal): don't remove the cell selection if we have one this
|
||||
should be done where we really want to remove it.
|
||||
|
||||
2002-02-20 José Matos <jamatos@fep.up.pt>
|
||||
|
||||
|
@ -620,9 +620,11 @@ void InsetTabular::updateLocal(BufferView * bv, UpdateCodes what,
|
||||
}
|
||||
if (need_update < what) // only set this if it has greater update
|
||||
need_update = what;
|
||||
#if 0 // maybe this should not be done!
|
||||
if ((what == INIT) && hasSelection()) {
|
||||
clearSelection();
|
||||
}
|
||||
#endif
|
||||
// Dirty Cast! (Lgb)
|
||||
if (need_update != NONE) {
|
||||
bv->updateInset(const_cast<InsetTabular *>(this), mark_dirty);
|
||||
|
Loading…
Reference in New Issue
Block a user