diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index 153837f8f5b686732c0d4cc8e4a6f9894a897186..0a3ae1cb3b8fc004aa7c48dc86b6546a80e17a0f 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -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()