| 182 | } |
| 183 | |
| 184 | void CheckSetManageWidget::reload() |
| 185 | { |
| 186 | if (!m_checkSetSelectionListModel) { |
| 187 | return; |
| 188 | } |
| 189 | |
| 190 | const int currentIndexBefore = m_ui.checkSetSelect->currentIndex(); |
| 191 | const QString currentId = m_checkSetSelectionListModel->checkSetSelectionId(currentIndexBefore); |
| 192 | m_checkSetSelectionListModel->reload(); |
| 193 | |
| 194 | const int currentIndexAfter = m_checkSetSelectionListModel->row(currentId); |
| 195 | m_ui.checkSetSelect->setCurrentIndex(currentIndexAfter); |
| 196 | } |
| 197 | |
| 198 | void CheckSetManageWidget::store() const |
| 199 | { |
no test coverage detected