summaryrefslogtreecommitdiff
path: root/grc/gui/Block.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r--grc/gui/Block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index c5a9f063a3..b55e471e37 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -41,7 +41,7 @@ class Block(CoreBlock, Element):
Block constructor.
Add graphics related params to the block.
"""
- CoreBlock.__init__(self, flow_graph, n)
+ super(self.__class__, self).__init__(flow_graph, n)
self.states.update(_coordinate=(0, 0), _rotation=0)
self.width = self.height = 0