Rewoke full selection make with selectall otherwise we may paint the

selection later (tabulars).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4038 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-04-22 14:52:46 +00:00
parent 2356001ed3
commit 018653ef27
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2002-04-22 Juergen Vigna <jug@sad.it> 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. * insettext.C (insetUnlock): code was uninitialized in some situations.
2002-04-19 Herbert Voss <voss@perce.de> 2002-04-19 Herbert Voss <voss@perce.de>

View File

@ -1773,6 +1773,8 @@ void InsetTabular::setFont(BufferView * bv, LyXFont const & font, bool tall,
} }
if (!frozen) if (!frozen)
unFreezeUndo(); unFreezeUndo();
if (selectall)
clearSelection();
updateLocal(bv, INIT, true); updateLocal(bv, INIT, true);
} }
if (the_locking_inset) if (the_locking_inset)