mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix crash in theme editor.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user