[bug fix] KIE模式下关键字无法保存
https://github.com/PaddlePaddle/PaddleOCR/issues/7753 autoSaveFunc(self)修改后没有对shape进行保存pull/7778/head
parent
f699d787ff
commit
2ff9055c1a
|
@ -2715,6 +2715,10 @@ class MainWindow(QMainWindow):
|
|||
|
||||
self._update_shape_color(shape)
|
||||
self.keyDialog.addLabelHistory(key_text)
|
||||
|
||||
# save changed shape
|
||||
self.singleLabel(shape)
|
||||
self.setDirty()
|
||||
|
||||
def undoShapeEdit(self):
|
||||
self.canvas.restoreShape()
|
||||
|
|
Loading…
Reference in New Issue