Skip to content

Commit

Permalink
Fix Go To Rule from debug log analysis (#837)
Browse files Browse the repository at this point in the history
This fixes the Go To Rule action when analyzing a debug log.

Closes #831
  • Loading branch information
egbicker authored Apr 1, 2023
1 parent a09fe41 commit 5aebcec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fapolicy_analyzer/ui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,9 @@ def on_analyzeMenu_activate(self, *args):
fcd.destroy()

def activate_file_analyzer(self, file):
self.__pack_main_content(router(PAGE_SELECTION.ANALYZE_FROM_DEBUG, False, file))
page = router(PAGE_SELECTION.ANALYZE_FROM_DEBUG, False, file)
page.object_list.rule_view_activate += self.on_rulesAdminMenu_activate
self.__pack_main_content(page)

def on_trustDbMenu_activate(self, menuitem, *args):
self.__pack_main_content(router(PAGE_SELECTION.TRUST_DATABASE_ADMIN))
Expand Down

0 comments on commit 5aebcec

Please sign in to comment.