]> git.lyx.org Git - features.git/commitdiff
Rewoke full selection make with selectall otherwise we may paint the
authorJürgen Vigna <jug@sad.it>
Mon, 22 Apr 2002 14:52:46 +0000 (14:52 +0000)
committerJürgen Vigna <jug@sad.it>
Mon, 22 Apr 2002 14:52:46 +0000 (14:52 +0000)
selection later (tabulars).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4038 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insettabular.C

index b5b266661a7df18e360d54ec2f296c506169f8d2..9cfbaf2c086bb9001445f92de3d3096348b05690 100644 (file)
@@ -1,5 +1,8 @@
 2002-04-22  Juergen Vigna  <jug@sad.it>
 
+       * insettabular.C (setFont): rewoke full selection if it was asked,
+       after we changed all we had to change.
+
        * insettext.C (insetUnlock): code was uninitialized in some situations.
 
 2002-04-19  Herbert Voss  <voss@perce.de>
index b3a9435665f7321f217d0f6a4bfc2e911ac8f4ce..cc08993905f6f8b7da75ac7b3644fa89e525883a 100644 (file)
@@ -1773,6 +1773,8 @@ void InsetTabular::setFont(BufferView * bv, LyXFont const & font, bool tall,
                }
                if (!frozen)
                        unFreezeUndo();
+               if (selectall)
+                       clearSelection();
                updateLocal(bv, INIT, true);
        }
        if (the_locking_inset)