Prevent flowview from creating duplicated windows

This commit is contained in:
Choongwoo Han 2015-10-04 14:21:51 +09:00
parent ce38a05a20
commit 45494d1c79

View File

@ -519,9 +519,11 @@ class FlowView(tabs.Tabs):
self._w.keypress(size, key) self._w.keypress(size, key)
elif key == "a": elif key == "a":
self.flow.accept_intercept(self.master) self.flow.accept_intercept(self.master)
signals.pop_view_state.send(self)
self.master.view_flow(self.flow) self.master.view_flow(self.flow)
elif key == "A": elif key == "A":
self.master.accept_all() self.master.accept_all()
signals.pop_view_state.send(self)
self.master.view_flow(self.flow) self.master.view_flow(self.flow)
elif key == "d": elif key == "d":
if self.state.flow_count() == 1: if self.state.flow_count() == 1: