From 9a0816f57c5304e0010f301200240629ff0670e3 Mon Sep 17 00:00:00 2001
From: Bruce Allen <bdallen@nps.edu>
Date: Fri, 22 Mar 2024 11:15:10 -0700
Subject: [PATCH] fix filter by mark flag

---
 python/graph_list_sort_filter_proxy_model.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/graph_list_sort_filter_proxy_model.py b/python/graph_list_sort_filter_proxy_model.py
index ad3ddf8..b52dc0a 100644
--- a/python/graph_list_sort_filter_proxy_model.py
+++ b/python/graph_list_sort_filter_proxy_model.py
@@ -65,9 +65,9 @@ class GraphListSortFilterProxyModel(QSortFilterProxyModel):
 
         # hide_unmarked
         if self.hide_unmarked:
-            mark_index = super().sourceModel.index(
+            mark_index = super().sourceModel().index(
                                        row, MARK_COLUMN, source_parent)
-            if super().sourceModel.data(mark_index) != "M":
+            if super().sourceModel().data(mark_index) != "M":
                 return False
 
         # hide_unmatched_event_condition_traces
-- 
GitLab