MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / activateLayer

Method activateLayer

src/openms_gui/source/VISUAL/Plot1DCanvas.cpp:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 void Plot1DCanvas::activateLayer(Size layer_index)
181 {
182 layers_.setCurrentLayer(layer_index);
183
184 // no peak is selected
185 selected_peak_.clear();
186
187 emit layerActivated(this);
188 }
189
190 void Plot1DCanvas::changeVisibleAreaCommon_(const UnitRange& new_area, bool repaint, bool add_to_stack)
191 {

Callers

nothing calls this directly

Calls 2

setCurrentLayerMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected