Added virtual sink and logic to clone port.
[debian/gnuradio] / grc / gui / FlowGraph.py
index f8028f199add9ca85120ea7ab19f53dbc93a8352..007bb622c5f04e71a94b2ca1ebf33553676f640e 100644 (file)
@@ -292,8 +292,12 @@ class FlowGraph(Element):
        def update(self):
                """
                Call update on all elements.
+               Validate twice:
+               1) elements call special rewrite rules that may break validation
+               2) elements should come up with the same results, validation can pass
                """
                self.validate()
+               self.validate()
                for element in self.get_elements(): element.update()
 
        ##########################################################################