개정판 1b49dc55
issue #486: refresh
DTI_PID/DTI_PID/Commands/SelectAttributeCommand.py | ||
---|---|---|
80 | 80 |
self.onSuccess.emit() |
81 | 81 |
elif item is not None and self._attr.AttributeType == 'Line Conn' and issubclass(type(item), QEngineeringLineItem): |
82 | 82 |
self._item.connectors[self._attr.ConnNum - 1].connectedItem = item |
83 |
self._attr.tableRefresh(self._item) |
|
83 | 84 |
|
84 | 85 |
self.onSuccess.emit() |
85 | 86 |
|
DTI_PID/DTI_PID/ItemPropertyTableWidget.py | ||
---|---|---|
630 | 630 |
attr = SymbolAttr() |
631 | 631 |
attr.AttributeType = "Line Conn" |
632 | 632 |
attr.ConnNum = int(keyCell.text().replace('CONN', '')) |
633 |
attr.tableRefresh = self.showItemProperty |
|
633 | 634 |
cmd = SelectAttributeCommand.SelectAttributeCommand(items[0], attr, self.mainWindow.graphicsView) |
634 | 635 |
cmd.onSuccess.connect(self.onSuccessSelectAttribute) |
635 | 636 |
self.mainWindow.graphicsView.command = cmd |
내보내기 Unified diff