개정판 b0a0383a
issue #000: sym paint
Change-Id: Ic784438c5a2e123368c89fa9e99c7d08bd7f03f3
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
1730 | 1730 |
|
1731 | 1731 |
def setColor(self, color): |
1732 | 1732 |
"""change svg item's color""" |
1733 |
if self._document and color != self.__color: |
|
1733 |
if self._document:# and color != self.__color:
|
|
1734 | 1734 |
self.changeAttributes('fill', color) |
1735 | 1735 |
self.changeAttributes('stroke', color) |
1736 | 1736 |
self.renderer().load(self._document.toByteArray()) |
내보내기 Unified diff