]> git.lyx.org Git - features.git/commitdiff
fix from Alfredo for matrix
authorJohn Levon <levon@movementarian.org>
Sat, 7 Dec 2002 18:14:02 +0000 (18:14 +0000)
committerJohn Levon <levon@movementarian.org>
Sat, 7 Dec 2002 18:14:02 +0000 (18:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5786 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QMathMatrixDialog.C

index fedd41dbb2ba423f0e66f625b2c459041c10caac..fc6b4d68ce7530b79f1a975a91f2cb36c016a6c3 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-07  John Levon  <levon@movementarian.org>
+
+       * QMathMatrixDialog.C: row/column insert was inverted; fix
+         by Alfredo Braunstein
 2002-12-07  John Levon  <levon@movementarian.org>
 
        * QDelimiterDialog.C:
index c847fc8c9e0bd58ce51d723bfbbb7137ecdf828c..40e324155d9933029c834c371282131ea89b57ca 100644 (file)
@@ -79,8 +79,8 @@ void QMathMatrixDialog::slotOK()
 {
        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;