Selaa lähdekoodia

fix copy here , to make copied shape is the only selected one

Hussein 13 vuotta sitten
vanhempi
commit
45666c81d5
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      canvas.py

+ 2 - 0
canvas.py

@@ -137,6 +137,8 @@ class Canvas(QWidget):
             self.shapes.append(shape)
             self.selectedShape.selected = False
             self.selectedShape = shape
+            self.repaint()
+
         else:
             shape.label = self.selectedShape.label
             self.deleteSelected()