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

Method currentRowChangedAction_

src/openms_gui/source/VISUAL/LayerListView.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 void LayerListView::currentRowChangedAction_(int i)
113 {
114 // after adding a layer, i is -1. TODO: check if this is the correct behaviour
115 if (i != -1)
116 {
117 spectrum_widget_->canvas()->activateLayer(i); // emits layerActivated in TOPPView
118 }
119 }
120 void LayerListView::itemChangedAction_(QListWidgetItem* item)
121 {
122 int layer = this->row(item);

Callers

nothing calls this directly

Calls 1

activateLayerMethod · 0.45

Tested by

no test coverage detected