src/eric7/Preferences/ShortcutDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
139 if self.primaryButton.isChecked(): 139 if self.primaryButton.isChecked():
140 self.keyEdit.setText(txt) 140 self.keyEdit.setText(txt)
141 else: 141 else:
142 self.alternateKeyEdit.setText(txt) 142 self.alternateKeyEdit.setText(txt)
143 143
144 def eventFilter(self, watched, event): 144 def eventFilter(self, _watched, event):
145 """ 145 """
146 Public method called to filter the event queue. 146 Public method called to filter the event queue.
147 147
148 @param watched the QObject being watched 148 @param _watched reference to the QObject being watched (unused)
149 @type QObject 149 @type QObject
150 @param event the event that occurred 150 @param event the event that occurred
151 @type QEvent 151 @type QEvent
152 @return always False 152 @return always False
153 @rtype bool 153 @rtype bool

eric ide

mercurial