Hi!

In the QT frontend, inserting a matrix from the math panel give rows/columns 
swapped. This patch should correct it.

Keep up the good work! (I love LyX). 

Cheers, Alfredo
Index: src/frontends/qt2/QMathMatrixDialog.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QMathMatrixDialog.C,v
retrieving revision 1.2
diff -u -r1.2 QMathMatrixDialog.C
--- src/frontends/qt2/QMathMatrixDialog.C	2002/12/01 22:59:19	1.2
+++ src/frontends/qt2/QMathMatrixDialog.C	2002/12/06 19:30:43
@@ -79,8 +79,8 @@
 {
 	char const c = v_align_c[valignCO->currentItem()];
 	char const * sh = halignED->text().latin1();
-	int const nx = int(rowsSB->value());
-	int const ny = int(columnsSB->value());
+	int const nx = int(columnsSB->value());
+	int const ny = int(rowsSB->value());
 
 	ostringstream os;
 	os << nx << ' ' << ny << ' ' << c << ' ' << sh;

Reply via email to