Return from Flow View behaviour

Following focus trumps the re-focusing the "current" (or just-viewed) flow.
This commit is contained in:
Rob Wills 2012-08-02 00:06:34 -07:00
parent c985e22196
commit 8e68426ad6
1 changed files with 5 additions and 1 deletions

View File

@ -605,7 +605,11 @@ class ConsoleMaster(flow.FlowMaster):
def view_flowlist(self):
if self.ui.started:
self.ui.clear()
self.focus_current()
if self.state.follow_focus:
self.state.set_focus(self.state.flow_count())
else:
self.focus_current()
if self.eventlog:
self.body = flowlist.BodyPile(self)
else: