mirror of https://github.com/procxx/kepka.git
Fix crash in theme editor.
This commit is contained in:
parent
4ae760dd7e
commit
19bcc145ad
|
@ -238,6 +238,7 @@ void EditorBlock::removeRow(const QString &name, bool removeCopyReferences) {
|
|||
row.setCopyOf(QString());
|
||||
}
|
||||
}
|
||||
removeFromSearch(_data[index]);
|
||||
_data.erase(_data.begin() + index);
|
||||
_indices.erase(it);
|
||||
for (auto i = index, count = static_cast<int>(_data.size()); i != count; ++i) {
|
||||
|
|
Loading…
Reference in New Issue