Prevent flowview from creating duplicated windows
diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py
index 5271db4f6e..4304afb5d1 100644
--- a/libmproxy/console/flowview.py
+++ b/libmproxy/console/flowview.py
@@ -519,10 +519,10 @@ def keypress(self, size, key):
             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()

When accepting intercepted flows with 'a' or 'A' command in flowview, mitmproxy makes new window every time. So, I need to press 'q' button several times to return the flow list.
