src/widgets/matrixeditor.cpp

changeset 250
2837b549e616
parent 206
654661eab7f3
--- a/src/widgets/matrixeditor.cpp	Wed Jun 22 16:13:15 2022 +0300
+++ b/src/widgets/matrixeditor.cpp	Wed Jun 22 16:53:35 2022 +0300
@@ -48,7 +48,7 @@
 	{
 		for (int row = 0; row < countof(this->spinboxes[0]); row += 1)
 		{
-			result[column][row] = this->spinboxes[column][row]->value();
+			result[column][row] = narrow<float>(this->spinboxes[column][row]->value());
 		}
 	}
 	return result;

mercurial