--- a/src/addObjectDialog.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/addObjectDialog.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -312,7 +312,7 @@ { QStringList matrixstrvals = dlg.le_matrix->text().split (" ", QString::SkipEmptyParts); - if (matrixstrvals.size() == 9) + if (length(matrixstrvals) == 9) { double matrixvals[9]; int i = 0;