From 4a5b7a5952ad2381fcdf4830511293e184c7c5a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Vigna?= Date: Wed, 20 Feb 2002 11:43:52 +0000 Subject: [PATCH] Don't remove cell selections after fontchange. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3574 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 2 ++ src/insets/insettabular.C | 2 ++ 2 files changed, 4 insertions(+) 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); -- 2.39.2