Tentative fix for the "press Apply multiple times and get multiple new

Insets" problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2583 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-08-24 15:49:03 +00:00
parent 8ae23e7526
commit 99915ba16a
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
* ControlInset.h (apply): tentative fix for the press Apply multiple
times and get multiple new Insets problem.
2001-08-24 John Levon <moz@compsoc.man.ac.uk>
* ControlCharacter.C: fix typo

View File

@ -195,6 +195,12 @@ void ControlInset<Inset, Params>::apply()
applyParamsToInset();
else
applyParamsNoInset();
*params_ = getParams(string());
inset_ = 0;
ih_.disconnect();
view().update();
}