| 258 | } |
| 259 | |
| 260 | void CheckSetManageWidget::removeSelectedCheckSetSelection() |
| 261 | { |
| 262 | const int selectedCheckSetSelectionIndex = m_ui.checkSetSelect->currentIndex(); |
| 263 | |
| 264 | if (selectedCheckSetSelectionIndex == -1) { |
| 265 | return; |
| 266 | } |
| 267 | |
| 268 | m_checkSetSelectionListModel->removeCheckSetSelection(selectedCheckSetSelectionIndex); |
| 269 | |
| 270 | const int defaultCheckSetSelectionIndex = m_checkSetSelectionListModel->defaultCheckSetSelectionRow(); |
| 271 | m_ui.checkSetSelect->setCurrentIndex(defaultCheckSetSelectionIndex); |
| 272 | } |
| 273 | |
| 274 | void CheckSetManageWidget::onDefaultCheckSetSelectionChanged(const QString& checkSetSelectionId) |
| 275 | { |
nothing calls this directly
no test coverage detected