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