mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
* 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:
parent
6b753c5d97
commit
2c300dd10d
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user