| 526 | } |
| 527 | |
| 528 | void ColumnDock::removeLabel() { |
| 529 | auto* item = ui.twLabels->currentItem(); |
| 530 | if (!item) |
| 531 | return; |
| 532 | |
| 533 | int row = ui.twLabels->currentRow(); |
| 534 | const auto& value = ui.twLabels->itemAt(row, 0)->text(); |
| 535 | for (auto* col : std::as_const(m_columnsList)) |
| 536 | col->removeValueLabel(value); |
| 537 | |
| 538 | ui.twLabels->removeRow(ui.twLabels->currentRow()); |
| 539 | m_column->setProjectChanged(true); |
| 540 | } |
| 541 | |
| 542 | void ColumnDock::batchEditLabels() { |
| 543 | auto* dlg = new BatchEditValueLabelsDialog(this); |
nothing calls this directly
no test coverage detected