개정판 5c78cc88
issue #538: fix dropEvent focus
Change-Id: I27a8c7c87d54045ee300e31d0bbc41effe276ee0
DTI_PID/DTI_PID/QtImageViewer.py | ||
---|---|---|
565 | 565 |
else: |
566 | 566 |
self._underItem = None |
567 | 567 |
|
568 |
for item in self.scene().selectedItems(): |
|
569 |
item.clearFocus() |
|
570 |
item.setSelected(False) |
|
571 |
|
|
568 | 572 |
scenePos = self.mapToScene(event.pos()) |
569 | 573 |
name = event.mimeData().text() |
570 | 574 |
svg = QtImageViewer.createSymbolObject(name) |
내보내기 Unified diff