Fixed console rendering bug
Clearing all flows now works properly
This commit is contained in:
parent
e53a2426c1
commit
a34eeb9a28
|
@ -100,9 +100,12 @@ class ConsoleState(flow.State):
|
|||
return ret
|
||||
|
||||
def clear(self):
|
||||
self.focus = None
|
||||
super(ConsoleState, self).clear()
|
||||
|
||||
if len(self.flows.views) == 0:
|
||||
self.focus = None
|
||||
else:
|
||||
self.focus = 0
|
||||
self.set_focus(self.focus)
|
||||
|
||||
class Options(object):
|
||||
attributes = [
|
||||
|
|
Loading…
Reference in New Issue