Fix hidden spaces hiding themselves

fixes #745
pull/790/head
Nicolas Werner 3 years ago
parent 417cc07172
commit 8beeba8e48
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/timeline/RoomlistModel.cpp

@ -851,7 +851,7 @@ FilteredRoomlistModel::filterAcceptsRow(int sourceRow, const QModelIndex &) cons
if (!hiddenSpaces.empty()) { if (!hiddenSpaces.empty()) {
for (const auto &t : parents) for (const auto &t : parents)
if (hiddenSpaces.contains(t)) if (t != filterStr && hiddenSpaces.contains(t))
return false; return false;
} }

Loading…
Cancel
Save