| 392 | } |
| 393 | |
| 394 | void TabbedPlotWidget::onTabRenameRequested(PlotTabFrame* frame, const QString& new_name) { |
| 395 | TabEntry* entry = findEntry(frame); |
| 396 | if (entry == nullptr) { |
| 397 | return; |
| 398 | } |
| 399 | entry->docker->setName(new_name); |
| 400 | emit undoableChange(); |
| 401 | } |
| 402 | |
| 403 | void TabbedPlotWidget::onTabCloseRequested(PlotTabFrame* frame) { |
| 404 | TabEntry* entry = findEntry(frame); |