Update shortcuts

This commit is contained in:
Leif 2020-12-14 20:55:32 +08:00
parent 40673f996a
commit 91685c0693
1 changed files with 2 additions and 2 deletions

View File

@ -373,7 +373,7 @@ class MainWindow(QMainWindow, WindowMixin):
'a', 'prev', getStr('prevImgDetail')) 'a', 'prev', getStr('prevImgDetail'))
save = action(getStr('save'), self.saveFile, save = action(getStr('save'), self.saveFile,
'Ctrl+S', 'verify', getStr('saveDetail'), enabled=False) 'Ctrl+V', 'verify', getStr('saveDetail'), enabled=False)
alcm = action(getStr('choosemodel'), self.autolcm, alcm = action(getStr('choosemodel'), self.autolcm,
'Ctrl+M', 'next', getStr('tipchoosemodel')) 'Ctrl+M', 'next', getStr('tipchoosemodel'))
@ -397,7 +397,7 @@ class MainWindow(QMainWindow, WindowMixin):
delete = action(getStr('delBox'), self.deleteSelectedShape, delete = action(getStr('delBox'), self.deleteSelectedShape,
'Delete', 'delete', getStr('delBoxDetail'), enabled=False) 'Delete', 'delete', getStr('delBoxDetail'), enabled=False)
copy = action(getStr('dupBox'), self.copySelectedShape, copy = action(getStr('dupBox'), self.copySelectedShape,
'Ctrl+D', 'copy', getStr('dupBoxDetail'), 'Ctrl+C', 'copy', getStr('dupBoxDetail'),
enabled=False) enabled=False)
hideAll = action(getStr('hideBox'), partial(self.togglePolygons, False), hideAll = action(getStr('hideBox'), partial(self.togglePolygons, False),