瀏覽代碼

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

Hussein 13 年之前
父節點
當前提交
8f4764fbbb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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: