* ControlMath.C

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



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13602 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2006-04-08 19:32:52 +00:00
parent 6b753c5d97
commit 2c300dd10d

View File

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