| 367 | } |
| 368 | |
| 369 | void ExternalScriptPlugin::saveItem(const ExternalScriptItem* item) |
| 370 | { |
| 371 | const QModelIndex index = m_model->indexFromItem(item); |
| 372 | Q_ASSERT(index.isValid()); |
| 373 | |
| 374 | getConfig().group(item->key()).deleteGroup(); // delete the previous group |
| 375 | setupKeys(index.row(), index.row()); |
| 376 | saveItemForRow(index.row()); // save the new group |
| 377 | } |
| 378 | |
| 379 | void ExternalScriptPlugin::saveItemForRow(int row) |
| 380 | { |
no test coverage detected