mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
media overview multiple selection done, fixed search result delete crash
This commit is contained in:
@@ -461,7 +461,7 @@ void DialogsListWidget::onItemReplaced(HistoryItem *oldItem, HistoryItem *newIte
|
||||
|
||||
void DialogsListWidget::onItemRemoved(HistoryItem *item) {
|
||||
int wasCount = searchResults.size();
|
||||
for (int i = 0; i < searchResults.size(); ++i) {
|
||||
for (int i = 0; i < searchResults.size();) {
|
||||
if (searchResults[i]->_item == item) {
|
||||
searchResults.remove(i);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user