Skip to content
Snippets Groups Projects
Unverified Commit 778ff86e authored by Alexander Bus's avatar Alexander Bus Committed by GitHub
Browse files

Merge pull request #2 from aberrya/master

Fix for failing Log namespaces filter
parents aeba9907 e257ae57
No related branches found
No related tags found
No related merge requests found
...@@ -308,7 +308,10 @@ class RecordFilter(QSortFilterProxyModel): ...@@ -308,7 +308,10 @@ class RecordFilter(QSortFilterProxyModel):
result = True result = True
if path: if path:
name = record.name name = record.name
if name == path: # name is None for record added by method add_conn_closed_record().
if name is None:
result = False
elif name == path:
result = True result = True
elif not self.selection_includes_children and name == path: elif not self.selection_includes_children and name == path:
result = True result = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment