diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-24 21:43:51 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-24 21:43:51 +0300 |
commit | 35067088f9ca02861d08f86c28843316b012b6a2 (patch) | |
tree | 4bc77a21932196e2f0daee64b588b361744d6dc4 | |
parent | Remove spacer & set sizePolicy on the timeline view & widgets (diff) | |
download | nheko-35067088f9ca02861d08f86c28843316b012b6a2.tar.xz |
Disable paint updates when removing the room filter
-rw-r--r-- | src/RoomList.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RoomList.cpp b/src/RoomList.cpp index 7a88b31b..143e0bdd 100644 --- a/src/RoomList.cpp +++ b/src/RoomList.cpp @@ -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 |