############################################################################## ###### SLOTs for changes triggered via QActions in the context menu ######## ##############################################################################
| 413 | // ###### SLOTs for changes triggered via QActions in the context menu ######## |
| 414 | // ############################################################################## |
| 415 | void DatapickerCurve::suppressUpdatePoint(bool suppress) { |
| 416 | m_supressResizeDatasheet = suppress; |
| 417 | |
| 418 | if (!suppress) { |
| 419 | // update points |
| 420 | auto points = children<DatapickerPoint>(ChildIndexFlag::IncludeHidden); |
| 421 | m_datasheet->setRowCount(points.count()); |
| 422 | updatePoints(); |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | void DatapickerCurve::updatePoints() { |
| 427 | for (auto* point : children<DatapickerPoint>(ChildIndexFlag::IncludeHidden)) |
no test coverage detected