개정판 ddaeb58c
issue #563: fix owner symbol
Change-Id: I771fda4e668abc1bf713853e9dc0b90ab884656b
DTI_PID/DTI_PID/Shapes/EngineeringInstrumentItem.py | ||
---|---|---|
193 | 193 |
if self.add_assoc_item(attr): |
194 | 194 |
attr.owner = self # set owner of text |
195 | 195 |
|
196 |
elif False: #issubclass(type(attr), SymbolSvgItem):
|
|
196 |
elif issubclass(type(attr), SymbolSvgItem) and attr is not self:
|
|
197 | 197 |
dx = attr.center().x() - center.x() |
198 | 198 |
dy = attr.center().y() - center.y() |
199 | 199 |
|
내보내기 Unified diff