mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
This should be fixed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36288 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d66b2393e
commit
b197c99449
@ -105,6 +105,12 @@ void GuiMathMatrix::slotOK()
|
||||
if (decorationCO->currentIndex() != 0) {
|
||||
int const deco = decorationCO->currentIndex();
|
||||
QString deco_name;
|
||||
// FIXME This is very dangerous way of coding.
|
||||
// The order is defined in .ui file and anybody who will touch it
|
||||
// will destroy the whole math decorations machinery.
|
||||
// For better way look on MathDelimiter Size-combo solution and biggui[] array.
|
||||
// Similarly for the v_align_c stuff -- at least we should push it into
|
||||
// constructor and have it in one file...
|
||||
switch (deco) {
|
||||
case 1: deco_name = "bmatrix";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user