diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp index 9995ae4f9..decd33413 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp @@ -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(_data.size()); i != count; ++i) {