未验证 提交 2ff9055c 编写于 作者: W whjdark 提交者: GitHub

[bug fix] KIE模式下关键字无法保存

https://github.com/PaddlePaddle/PaddleOCR/issues/7753
autoSaveFunc(self)修改后没有对shape进行保存
上级 f699d787
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册