| 123 | } |
| 124 | |
| 125 | void MatrixDock::yStartChanged(const QString& text) { |
| 126 | CONDITIONAL_LOCK_RETURN; |
| 127 | |
| 128 | QString str = text.trimmed(); |
| 129 | if (str.isEmpty()) |
| 130 | return; |
| 131 | bool ok; |
| 132 | const double value{QLocale().toDouble(str, &ok)}; |
| 133 | if (ok) { |
| 134 | for (auto* matrix : m_matrixList) |
| 135 | matrix->setYStart(value); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | void MatrixDock::yEndChanged(const QString& text) { |
| 140 | CONDITIONAL_LOCK_RETURN; |