Merge pull request #791 from tunz/master

Prevent flowview from creating duplicated windows
This commit is contained in:
Maximilian Hils 2015-10-28 13:10:38 +01:00
commit 65c08ec899

View File

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