diff --git a/Telegram/SourceFiles/boxes/peer_list_box.cpp b/Telegram/SourceFiles/boxes/peer_list_box.cpp index e61a8eb0c..674daee70 100644 --- a/Telegram/SourceFiles/boxes/peer_list_box.cpp +++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp @@ -224,7 +224,7 @@ void PeerListBox::peerListSetRowChecked( peerListUpdateRow(row); // This call deletes row from _searchRows. - _select->entity()->clearQuery(); + //_select->entity()->clearQuery(); } else { // The itemRemovedCallback will call changeCheckState() here. _select->entity()->removeItem(row->id()); @@ -240,7 +240,7 @@ void PeerListBox::peerListSetForeignRowChecked( addSelectItem(row, animated); // This call deletes row from _searchRows. - _select->entity()->clearQuery(); + //_select->entity()->clearQuery(); } else { // The itemRemovedCallback will call changeCheckState() here. _select->entity()->removeItem(row->id()); diff --git a/Telegram/SourceFiles/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp index 1aa1c231b..6e1024208 100644 --- a/Telegram/SourceFiles/boxes/share_box.cpp +++ b/Telegram/SourceFiles/boxes/share_box.cpp @@ -810,7 +810,7 @@ void ShareBox::addPeerToMultiSelect(PeerData *peer, bool skipAnimation) { void ShareBox::innerSelectedChanged(PeerData *peer, bool checked) { if (checked) { addPeerToMultiSelect(peer); - _select->clearQuery(); + //_select->clearQuery(); } else { _select->removeItem(peer->id.value); }