]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiMathMatrix.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiMathMatrix.cpp
index b92765251f166f849ac5c0bf130ea4437a90df74..24722b00e835bfb21a62391083e015e6fa027478 100644 (file)
@@ -15,6 +15,8 @@
 #include "EmptyTable.h"
 #include "qt_helpers.h"
 
+#include "FuncRequest.h"
+
 #include <QLineEdit>
 #include <QPushButton>
 #include <QSpinBox>
@@ -25,7 +27,7 @@ namespace lyx {
 namespace frontend {
 
 GuiMathMatrix::GuiMathMatrix(GuiView & lv)
-       : GuiMath(lv, "mathmatrix", qt_("Math Matrix"))
+       : GuiDialog(lv, "mathmatrix", qt_("Math Matrix"))
 {
        setupUi(this);
 
@@ -90,7 +92,7 @@ void GuiMathMatrix::slotOK()
        int const ny = rowsSB->value();
        string const str = fromqstr(
                QString("%1 %2 %3 %4").arg(nx).arg(ny).arg(c).arg(sh));
-       dispatchFunc(LFUN_MATH_MATRIX, str);
+       dispatch(FuncRequest(LFUN_MATH_MATRIX, str));
        close();
 }