]> git.lyx.org Git - features.git/commitdiff
This should be fixed.
authorPavel Sanda <sanda@lyx.org>
Sat, 13 Nov 2010 23:01:30 +0000 (23:01 +0000)
committerPavel Sanda <sanda@lyx.org>
Sat, 13 Nov 2010 23:01:30 +0000 (23:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36288 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiMathMatrix.cpp

index 63527ed385c9bb9b15dfee3e52f46a9888f0a8a6..932ef71d8eea0d9286449d834f820d76f86a8900 100644 (file)
@@ -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;