(Martin): enable the math panel sub/superscript buttons once again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8245 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-12-12 20:47:56 +00:00
parent 2384c36416
commit a36dbf39f7
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,15 @@
2003-12-12 Martin Vermeer <martin.vermeer@hut.fi>
* ControlMath.C (dispatchSubscript, dispatchSuperscript): enable
the math panel sub/superscript buttons once again.
2003-12-12 Angus Leeming <leeming@lyx.org>
* ControlBranch.[Ch] (branchlist): new member function.
* ControlDocument.C (setBranchColor): remove redundant call to
LColor::setColor.
2003-12-11 Angus Leeming <leeming@lyx.org>
* ControlCommand.C (initialiseParams): changes due to the changed

View File

@ -44,13 +44,15 @@ void ControlMath::dispatchInsert(string const & name) const
void ControlMath::dispatchSubscript() const
{
dispatchFunc(LFUN_SUBSCRIPT);
dispatchFunc(LFUN_INSERT_MATH, "_");
dispatchFunc(LFUN_DOWN);
}
void ControlMath::dispatchSuperscript() const
{
dispatchFunc(LFUN_SUPERSCRIPT);
dispatchFunc(LFUN_INSERT_MATH, "^");
dispatchFunc(LFUN_UP);
}