개정판 c9478bf6
Revert "issue #000: improve open xml file, fix explode, not exist item reference"
This reverts commit 9777bbd18e4de6c8e9f43cc311021237a0a92d48.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I70c11ad9ebc528a5611440d2b8c5bb5396c93995
DTI_PID/DTI_PID/ItemTreeWidget.py | ||
---|---|---|
164 | 164 |
menu.addAction(lineTypeAction) |
165 | 165 |
line_no = item.parent().data(0, self.TREE_DATA_ROLE) |
166 | 166 |
freeze = line_no.prop('Freeze') |
167 |
explode_action = QAction(self.tr("Explode")) |
|
168 | 167 |
explode_action.setEnabled(not freeze) |
168 |
explode_action = QAction(self.tr("Explode")) |
|
169 | 169 |
explode_action.triggered.connect(lambda : self.explode_line_run(item)) |
170 | 170 |
menu.addAction(explode_action) |
171 | 171 |
menu.exec_(self.viewport().mapToGlobal(position)) |
내보내기 Unified diff