Преглед на файлове

Keep selected state when duplicating shapes

so that we can keep moving them by arrow keys
Kentaro Wada преди 1 година
родител
ревизия
4b6813fb0d
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      labelme/app.py

+ 0 - 1
labelme/app.py

@@ -1347,7 +1347,6 @@ class MainWindow(QtWidgets.QMainWindow):
 
     def duplicateSelectedShape(self):
         added_shapes = self.canvas.duplicateSelectedShapes()
-        self.labelList.clearSelection()
         for shape in added_shapes:
             self.addLabel(shape)
         self.setDirty()