* ControlMath.C

(ControlMath::dispatchInsert): fix broken GUI for sub/superscript
	insertion



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13622 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2006-04-10 14:39:36 +00:00
parent c06454317b
commit 3d5edab5c3

View File

@ -50,14 +50,12 @@ void ControlMath::dispatchInsert(string const & name) const
void ControlMath::dispatchSubscript() const
{
dispatchFunc(LFUN_INSERT_MATH, "_");
dispatchFunc(LFUN_DOWN);
}
void ControlMath::dispatchSuperscript() const
{
dispatchFunc(LFUN_INSERT_MATH, "^");
dispatchFunc(LFUN_UP);
}