개정판 6a9e5ae7
issue #000: fix batch recog
Change-Id: Ibadebbb1a0cfc354b4f677a9f996a5b3c35ed4b0
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1616 | 1616 |
checkedDrawings = [] |
1617 | 1617 |
for checkedTreeItem in checkedTreeItems: |
1618 | 1618 |
for drawing in drawings: |
1619 |
if checkedTreeItem.data(0, 0) == drawing[1]:
|
|
1620 |
if drawing[0]:
|
|
1621 |
drawing[2] = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
|
|
1619 |
if checkedTreeItem.data(0, 0) == drawing.name:
|
|
1620 |
if drawing: |
|
1621 |
drawing.datetime = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
|
|
1622 | 1622 |
checkedDrawings.append(drawing) |
1623 | 1623 |
checkedTreeItem.setText(1, datetime.now().strftime('%Y-%m-%d %H:%M:%S')) |
1624 | 1624 |
appDocData.saveDrawings(checkedDrawings) |
내보내기 Unified diff