Preferences/ShortcutsDialog.py

changeset 6735
31e263d49c04
parent 6645
ad476851d7e0
equal deleted inserted replaced
6734:1eaf6955acf5 6735:31e263d49c04
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