개정판 dd6c85db
issue #000: fix drag
Change-Id: I2c884db3d5948c4b7c629751928b67b9109c87ca
DTI_PID/DTI_PID/QtImageViewer.py | ||
---|---|---|
512 | 512 |
if len(items) > 0: |
513 | 513 |
if not hasattr(self, '_underItem') or self._underItem is not items[0]: |
514 | 514 |
if hasattr(self, '_underItem') and self._underItem is not None: |
515 |
if hasattr(self, 'highlight'): |
|
515 |
if hasattr(self._underItem, 'highlight'):
|
|
516 | 516 |
self._underItem.highlight(False) |
517 | 517 |
|
518 | 518 |
self._underItem = items[0] |
519 |
if hasattr(self, 'highlight'): |
|
519 |
if hasattr(self._underItem, 'highlight'):
|
|
520 | 520 |
self._underItem.highlight(True) |
521 | 521 |
elif hasattr(self, '_underItem') and self._underItem is not None: |
522 | 522 |
self._underItem.hoverLeaveEvent(event) |
내보내기 Unified diff