| 1579 | } |
| 1580 | |
| 1581 | void AxisDock::updateScale() { |
| 1582 | if (m_axis->rangeScale()) { |
| 1583 | ui.cbScale->setEnabled(false); |
| 1584 | ui.cbScale->setToolTip(i18n("Scale is in sync with the plot scale")); |
| 1585 | } else { |
| 1586 | ui.cbScale->setEnabled(true); |
| 1587 | ui.cbScale->setToolTip(i18n("Scale is async with the plot")); |
| 1588 | } |
| 1589 | } |
| 1590 | |
| 1591 | void AxisDock::axisRangeScaleChanged(bool rangeScale) { |
| 1592 | updateScale(); |
nothing calls this directly
no test coverage detected