Preferences/ShortcutsDialog.py

branch
maintenance
changeset 6826
c6dda2cbe081
parent 6735
31e263d49c04
equal deleted inserted replaced
6764:d14ddbfbbd36 6826:c6dda2cbe081
310 topItem != origTopItem: 310 topItem != origTopItem:
311 continue 311 continue
312 312
313 # 3. check key name 313 # 3. check key name
314 if itm.text(0) != keyname: 314 if itm.text(0) != keyname:
315 for col in [1, 2]: # check against primary, 315 for col in [1, 2]:
316 # then alternative binding 316 # check against primary, then alternative binding
317 itmseq = itm.text(col) 317 itmseq = itm.text(col)
318 # step 1: check if shortcut is already allocated 318 # step 1: check if shortcut is already allocated
319 if keystr == itmseq: 319 if keystr == itmseq:
320 res = E5MessageBox.yesNo( 320 res = E5MessageBox.yesNo(
321 self, 321 self,

eric ide

mercurial