changeset 13448:ec0e771cc348

Replaced matrix value.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Thu, 14 Apr 2011 21:54:14 +0200
parents c836ec162a2e
children 604c37e8f388
files gui//src/VariablesDockWidget.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui//src/VariablesDockWidget.cpp	Thu Apr 14 21:47:37 2011 +0200
+++ b/gui//src/VariablesDockWidget.cpp	Thu Apr 14 21:54:14 2011 +0200
@@ -56,9 +56,9 @@
         double scalarValue = symbolRecord.varval().scalar_value();
         treeItem->setData(2, 0, QString("%1").arg(scalarValue));
     } else if(type == "matrix") {
-        // Matrix matrixValue = symbolRecord.varval().matrix_value();
+        //Matrix matrixValue = symbolRecord.varval().matrix_value();
         // TODO: Display matrix values.
-        //treeItem->setData(2, 0, QString("{%1 x %2}").arg(matrixValue.rows()).arg(matrixValue.cols()));
+        treeItem->setData(2, 0, QString("{matrix}"));
     } else {
         treeItem->setData(2, 0, QString("<Type not recognized>"));
     }