mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix crash in theme editor.
This commit is contained in:
parent
4ae760dd7e
commit
19bcc145ad
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ void EditorBlock::removeRow(const QString &name, bool removeCopyReferences) {
|
||||||
row.setCopyOf(QString());
|
row.setCopyOf(QString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
removeFromSearch(_data[index]);
|
||||||
_data.erase(_data.begin() + index);
|
_data.erase(_data.begin() + index);
|
||||||
_indices.erase(it);
|
_indices.erase(it);
|
||||||
for (auto i = index, count = static_cast<int>(_data.size()); i != count; ++i) {
|
for (auto i = index, count = static_cast<int>(_data.size()); i != count; ++i) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue