From: Jürgen Vigna Date: Wed, 20 Feb 2002 11:43:52 +0000 (+0000) Subject: Don't remove cell selections after fontchange. X-Git-Tag: 1.6.10~19822 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;p=features.git Don't remove cell selections after fontchange. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3574 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 33f741aab4..37b3db3058 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -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 diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index 85cbca17e0..d21030ee98 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -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(this), mark_dirty);