From 968c142e2aef92865553dd116a49db88d8507fdc Mon Sep 17 00:00:00 2001 From: Evezerest <50011306+Evezerest@users.noreply.github.com> Date: Thu, 29 Sep 2022 16:45:22 +0800 Subject: [PATCH] Update PPOCRLabel.py --- PPOCRLabel/PPOCRLabel.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index 153837f8..0a3ae1cb 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() -- GitLab