From 219e50dbfca26f257a97a767efe2d7c53453dbfe Mon Sep 17 00:00:00 2001 From: vdalv Date: Wed, 16 May 2018 23:28:46 -0700 Subject: [PATCH] Fix verify image issue 248 --- labelImg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/labelImg.py b/labelImg.py index de5c1b08..6290f188 100755 --- a/labelImg.py +++ b/labelImg.py @@ -967,11 +967,13 @@ class MainWindow(QMainWindow, WindowMixin): self.imageData = self.labelFile.imageData self.lineColor = QColor(*self.labelFile.lineColor) self.fillColor = QColor(*self.labelFile.fillColor) + self.canvas.verified = self.labelFile.verified else: # Load image: # read data first and store for saving into label file. self.imageData = read(unicodeFilePath, None) self.labelFile = None + self.canvas.verified = False image = QImage.fromData(self.imageData) if image.isNull():