mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
InfoFlowAnalysisTab: connect min permission weight
This commit is contained in:
parent
40bc6c9404
commit
c93fb0d175
@ -104,6 +104,7 @@ class InfoFlowAnalysisTab(SEToolsWidget, QScrollArea):
|
||||
self.all_paths.toggled.connect(self.all_paths_toggled)
|
||||
self.flows_in.toggled.connect(self.flows_in_toggled)
|
||||
self.flows_out.toggled.connect(self.flows_out_toggled)
|
||||
self.min_perm_weight.valueChanged.connect(self.set_min_weight)
|
||||
|
||||
#
|
||||
# Analysis mode
|
||||
@ -153,6 +154,12 @@ class InfoFlowAnalysisTab(SEToolsWidget, QScrollArea):
|
||||
self.target.setToolTip("Error: " + str(ex))
|
||||
self.target.setPalette(self.error_palette)
|
||||
|
||||
#
|
||||
# Options
|
||||
#
|
||||
def set_min_weight(self, value):
|
||||
self.query.min_weight = value
|
||||
|
||||
#
|
||||
# Results runner
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user