개정판 1e6d354d
fix progress
Change-Id: I29b8c697509d8d183181be97aa70c48e77163bfe
DTI_PID/DTI_PID/Commands/LoadCommand.py | ||
---|---|---|
169 | 169 |
if unknown: |
170 | 170 |
maxValue = maxValue + len(list(root.iter('UNKNOWN'))) |
171 | 171 |
|
172 |
maxValue *= 5
|
|
172 |
maxValue = maxValue * 5 + 10
|
|
173 | 173 |
self.set_maximum.emit(maxValue) if maxValue > 0 else None |
174 | 174 |
|
175 | 175 |
if symbol: |
... | ... | |
439 | 439 |
lines = [] |
440 | 440 |
|
441 | 441 |
components = app_doc_data.get_components(drawing.UID) |
442 |
maxValue = len(components) * 5 |
|
442 |
maxValue = len(components) * 5 + 10
|
|
443 | 443 |
self.set_maximum.emit(maxValue) if maxValue > 0 else None |
444 | 444 |
|
445 | 445 |
if symbol: |
내보내기 Unified diff