change the current layer
| 313 | |
| 314 | // change the current layer |
| 315 | void Plot2DCanvas::activateLayer(Size layer_index) |
| 316 | { |
| 317 | // unselect all peaks |
| 318 | selected_peak_.clear(); |
| 319 | measurement_start_.clear(); |
| 320 | |
| 321 | layers_.setCurrentLayer(layer_index); |
| 322 | emit layerActivated(this); |
| 323 | |
| 324 | update_(OPENMS_PRETTY_FUNCTION); |
| 325 | } |
| 326 | |
| 327 | void Plot2DCanvas::recalculateSnapFactor_() |
| 328 | { |
nothing calls this directly
no test coverage detected