mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
InfoFlowTab ResultsUpdater: missed flows into target type
This commit is contained in:
parent
ee8a6a94c4
commit
40bc6c9404
@ -59,7 +59,7 @@
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="tabSpacing">
|
||||
<number>0</number>
|
||||
@ -682,9 +682,6 @@
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<widget class="QRadioButton" name="flows_in">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>All information flows into the target type will be shown.</string>
|
||||
</property>
|
||||
|
@ -208,9 +208,9 @@ class ResultsUpdater(QObject):
|
||||
elif mode == "all_shortest_paths":
|
||||
self.transitive(self.query.all_shortest_paths(source, target), limit)
|
||||
elif mode == "flows_out":
|
||||
self.direct(self.query.infoflows(source), limit)
|
||||
self.direct(self.query.infoflows(source, out=True), limit)
|
||||
else: # flows_in
|
||||
pass
|
||||
self.direct(self.query.infoflows(target, out=False), limit)
|
||||
|
||||
self.finished.emit()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user