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

Method updateFilterBar

src/openms_gui/source/VISUAL/APPLICATIONS/TOPPViewBase.cpp:1311–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309 }
1310
1311 void TOPPViewBase::updateFilterBar()
1312 {
1313 PlotCanvas* canvas = getActiveCanvas();
1314 if (canvas == nullptr)
1315 return;
1316
1317 if (canvas->getLayerCount() == 0)
1318 return;
1319
1320 filter_list_->set(getActiveCanvas()->getCurrentLayer().filters);
1321 }
1322
1323 void TOPPViewBase::layerFilterVisibilityChange(bool on) const
1324 {

Callers 2

showSpectrumAsNew1DMethod · 0.80
showSpectrumAsNew1DMethod · 0.80

Calls 3

getLayerCountMethod · 0.80
getCurrentLayerMethod · 0.80
setMethod · 0.45

Tested by 1

showSpectrumAsNew1DMethod · 0.64