src/addObjectDialog.cpp

changeset 1063
1f15c52c11f6
parent 1045
f726f8f49c7e
child 1064
4c7a353cf583
--- 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;

mercurial