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/Connection.py | |
parent | 36f186bc46f528d95d9186955e91736d1fdb299e (diff) |
grc: refactor: Port, Param, Options init clean-up
Diffstat (limited to 'grc/gui/Connection.py')
-rw-r--r-- | grc/gui/Connection.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/grc/gui/Connection.py b/grc/gui/Connection.py index 6122ec13b4..87dd97a520 100644 --- a/grc/gui/Connection.py +++ b/grc/gui/Connection.py @@ -23,7 +23,7 @@ from . import Colors, Utils from .Constants import CONNECTOR_ARROW_BASE, CONNECTOR_ARROW_HEIGHT from .Element import Element -from ..core.Element import property_nop_write +from ..core.Element import nop_write from ..core.Connection import Connection as _Connection @@ -46,11 +46,13 @@ class Connection(Element, _Connection): self._sink_rot = self._source_rot = None self._sink_coor = self._source_coor = None - @property_nop_write + @nop_write + @property def coordinate(self): return self.source_port.get_connector_coordinate() - @property_nop_write + @nop_write + @property def rotation(self): """ Get the 0 degree rotation. |