未验证 提交 968c142e 编写于 作者: E Evezerest 提交者: GitHub

Update PPOCRLabel.py

上级 2ff9055c
...@@ -2716,9 +2716,8 @@ class MainWindow(QMainWindow): ...@@ -2716,9 +2716,8 @@ class MainWindow(QMainWindow):
self._update_shape_color(shape) self._update_shape_color(shape)
self.keyDialog.addLabelHistory(key_text) self.keyDialog.addLabelHistory(key_text)
# save changed shape # save changed shape
self.singleLabel(shape) self.setDirty()
self.setDirty()
def undoShapeEdit(self): def undoShapeEdit(self):
self.canvas.restoreShape() self.canvas.restoreShape()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册