mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-21 13:23:18 +08:00
Update PPOCRLabel.py
This commit is contained in:
@@ -2716,9 +2716,8 @@ class MainWindow(QMainWindow):
|
||||
self._update_shape_color(shape)
|
||||
self.keyDialog.addLabelHistory(key_text)
|
||||
|
||||
# save changed shape
|
||||
self.singleLabel(shape)
|
||||
self.setDirty()
|
||||
# save changed shape
|
||||
self.setDirty()
|
||||
|
||||
def undoShapeEdit(self):
|
||||
self.canvas.restoreShape()
|
||||
|
||||
Reference in New Issue
Block a user