Jump back to correct flow when limit is applied.

This commit is contained in:
Aldo Cortesi 2012-07-14 15:22:44 +12:00
parent a44a76a7da
commit 150814f6a8

View File

@ -562,7 +562,7 @@ class ConsoleMaster(flow.FlowMaster):
def focus_current(self):
if self.currentflow:
try:
self.flow_list_walker.set_focus(self.state.index(self.currentflow))
self.flow_list_walker.set_focus(self.state.view.index(self.currentflow))
except (IndexError, ValueError):
pass