| 383 | } |
| 384 | |
| 385 | void StatisticsStyleControl::on_pushButtonDeleteMap_clicked() |
| 386 | { |
| 387 | auto itemName = this->ui.comboBoxCustomMap->currentText(); |
| 388 | if (itemName.isEmpty()) |
| 389 | return; |
| 390 | |
| 391 | this->customColorMapStorage.remove(itemName); |
| 392 | this->refreshComboBoxCustomMapFromStorage(); |
| 393 | QSignalBlocker blockerPredefined(this->ui.comboBoxCustomMap); |
| 394 | this->ui.comboBoxCustomMap->setCurrentIndex(-1); |
| 395 | } |
| 396 | |
| 397 | void StatisticsStyleControl::on_comboBoxVectorLineStyle_currentIndexChanged(int index) |
| 398 | { |
nothing calls this directly
no test coverage detected