diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-15 23:25:54 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-29 15:45:07 +0200 |
commit | 93ce3961a572da6ec3dbef1f24a22f4153acaa61 (patch) | |
tree | 274a78b5ce37f5305818c6ebab7ba495a2da4e12 /grc/gui/Block.py | |
parent | 36f186bc46f528d95d9186955e91736d1fdb299e (diff) |
grc: refactor: Port, Param, Options init clean-up
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r-- | grc/gui/Block.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py index b55e471e37..c8611933f0 100644 --- a/grc/gui/Block.py +++ b/grc/gui/Block.py @@ -36,12 +36,12 @@ from ..core.Block import Block as CoreBlock class Block(CoreBlock, Element): """The graphical signal block.""" - def __init__(self, flow_graph, n): + def __init__(self, parent, **n): """ Block constructor. Add graphics related params to the block. """ - super(self.__class__, self).__init__(flow_graph, n) + super(self.__class__, self).__init__(parent, **n) self.states.update(_coordinate=(0, 0), _rotation=0) self.width = self.height = 0 |