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

Method changeLayerFilterState

src/openms_gui/source/VISUAL/PlotCanvas.cpp:537–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535 }
536
537 void PlotCanvas::changeLayerFilterState(Size i, bool b)
538 {
539 LayerDataBase& layer = getLayer(i);
540 if (layer.filters.isActive() != b)
541 {
542 layer.filters.setActive(b);
543 update_buffer_ = true;
544 update_(OPENMS_PRETTY_FUNCTION);
545 }
546 }
547
548 const PlotCanvas::RangeType& PlotCanvas::getDataRange() const
549 {

Callers 1

Calls 2

isActiveMethod · 0.45
setActiveMethod · 0.45

Tested by

no test coverage detected