InfoFlowTab ResultsUpdater: missed flows into target type

This commit is contained in:
Chris PeBenito 2015-06-30 11:57:22 -04:00
parent ee8a6a94c4
commit 40bc6c9404
2 changed files with 3 additions and 6 deletions

View File

@ -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>

View File

@ -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()