Explorar o código

fix copy and delete ( to be activated after copying a shape , as it's will be selected)

Hussein %!s(int64=13) %!d(string=hai) anos
pai
achega
8f4764fbbb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      labelme.py

+ 1 - 0
labelme.py

@@ -230,6 +230,7 @@ class MainWindow(QMainWindow, WindowMixin):
 
     def copySelectedShape(self):
         self.addLabel(self.canvas.copySelectedShape())
+        self.shapeSelectionChanged(True)
 
     def highlightLabel(self, item):
         if self.highlighted: