Commit 219e50db authored by vdalv's avatar vdalv Committed by darrenl
Browse files

Fix verify image issue 248

parent 508a4c8b
......@@ -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
# 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():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment