Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit f3f30dc

Browse files
shortcut c
1 parent dd6f703 commit f3f30dc

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

labelImg.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,6 @@ def __init__(self, defaultFilename=None, defaultPrefdefClassFile=None, defaultSa
157157
self.addFlags(getStr('useDifficult'))
158158
self.addFlags(getStr('useTruncated'))
159159

160-
# *
161-
# * dhzs 2017-12-2 add copy button
162-
# *
163-
self.copy_prev_button = QPushButton('Copy the previous label')
164-
self.copy_prev_button.setShortcut('c')
165-
self.copy_prev_button.clicked.connect(self.copyPreviousBoundingBoxes)
166-
listLayout.addWidget(self.copy_prev_button)
167-
168160
# Add some of widgets to listLayout
169161
listLayout.addWidget(self.flagGroupBox)
170162
listLayout.addWidget(self.editButton)
@@ -244,7 +236,7 @@ def __init__(self, defaultFilename=None, defaultPrefdefClassFile=None, defaultSa
244236
'Ctrl+u', 'open', getStr('openDir'))
245237

246238
copyPrevBounding = action(getStr('copyPrevBounding'), self.copyPreviousBoundingBoxes,
247-
'Ctrl+v', 'paste', getStr('copyPrevBounding'))
239+
'c', 'paste', getStr('copyPrevBounding'))
248240

249241
changeSavedir = action(getStr('changeSaveDir'), self.changeSavedirDialog,
250242
'Ctrl+r', 'open', getStr('changeSavedAnnotationDir'))

0 commit comments

Comments
 (0)