개정판 404185fc
issue #000: prevent to save items to database
Change-Id: I96147cfdb90fda05c0a156af433fa2ec61c0341c
DTI_PID/DTI_PID/Commands/SaveWorkCommand.py | ||
---|---|---|
43 | 43 |
db_items = [item for item in items if issubclass(type(item), QEngineeringAbstractItem) and type(item) is not QGraphicsBoundingBoxItem and type(item) is not QEngineeringErrorItem] |
44 | 44 |
db_items.extend([line for line in appDocData.tracerLineNos if type(line) is QEngineeringTrimLineNoTextItem]) |
45 | 45 |
print('count={}'.format(len(db_items))) |
46 |
appDocData.saveToDatabase(db_items) |
|
46 |
#appDocData.saveToDatabase(db_items)
|
|
47 | 47 |
|
48 | 48 |
self.resultStr = SaveWorkCommand.save_to_xml() |
49 | 49 |
|
내보내기 Unified diff