mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
fix xforms math panel (bug 1214)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9389 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
82dca177a3
commit
5dc46fafb1
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
|
* FormMathsBitmap.C: Do not split strings with blank into two
|
||||||
|
separate dispatches (bug 1214)
|
||||||
|
|
||||||
2004-12-16 Angus Leeming <leeming@lyx.org>
|
2004-12-16 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* FormFiledialog.C: remove redundant "using lyx::support::GetEnvPath;"
|
* FormFiledialog.C: remove redundant "using lyx::support::GetEnvPath;"
|
||||||
|
@ -173,13 +173,7 @@ int FormMathsBitmap::GetIndex(FL_OBJECT * ob_in)
|
|||||||
|
|
||||||
void FormMathsBitmap::apply()
|
void FormMathsBitmap::apply()
|
||||||
{
|
{
|
||||||
string::size_type const i = latex_chosen_.find(' ');
|
controller().dispatchInsert(latex_chosen_);
|
||||||
if (i != string::npos) {
|
|
||||||
controller().dispatchFunc(LFUN_MATH_MODE);
|
|
||||||
controller().dispatchInsert(latex_chosen_.substr(0,i));
|
|
||||||
controller().dispatchInsert('\\' + latex_chosen_.substr(i + 1));
|
|
||||||
} else
|
|
||||||
controller().dispatchInsert(latex_chosen_);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user