diff --git a/labelImg.py b/labelImg.py index a770e18f..fe77e0af 100644 --- a/labelImg.py +++ b/labelImg.py @@ -744,6 +744,7 @@ class MainWindow(QMainWindow, WindowMixin): if item and self.canvas.editing(): self._noSelectionSlot = True self.canvas.selectShape(self.itemsToShapes[item]) + shape = self.itemsToShapes[item] # Add Chris self.diffcButton.setChecked(shape.difficult)