| 510 | } |
| 511 | |
| 512 | void PlotCanvas::setLayerName(Size i, const String& name) |
| 513 | { |
| 514 | getLayer(i).setName(name); |
| 515 | if (i == 0 && spectrum_widget_) |
| 516 | { |
| 517 | spectrum_widget_->setWindowTitle(name.toQString()); |
| 518 | } |
| 519 | } |
| 520 | |
| 521 | String PlotCanvas::getLayerName(const Size i) |
| 522 | { |
no test coverage detected