Skip to content
Snippets Groups Projects
Commit 35067088 authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Disable paint updates when removing the room filter

parent 6583686a
Branches issue1440
No related tags found
No related merge requests found
......@@ -344,12 +344,14 @@ RoomList::closeJoinRoomDialog(bool isJoining, QString roomAlias)
void
RoomList::removeFilter()
{
setUpdatesEnabled(false);
for (int i = 0; i < contentsLayout_->count(); i++) {
auto widget =
qobject_cast<RoomInfoListItem *>(contentsLayout_->itemAt(i)->widget());
if (widget)
widget->show();
}
setUpdatesEnabled(true);
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment