Skip to content

Commit

Permalink
Keep selected state when duplicating shapes
Browse files Browse the repository at this point in the history
so that we can keep moving them by arrow keys
  • Loading branch information
wkentaro committed Jan 25, 2024
1 parent 7abb6aa commit 4b6813f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion labelme/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,6 @@ def format_shape(s):

def duplicateSelectedShape(self):
added_shapes = self.canvas.duplicateSelectedShapes()
self.labelList.clearSelection()
for shape in added_shapes:
self.addLabel(shape)
self.setDirty()
Expand Down

0 comments on commit 4b6813f

Please sign in to comment.