E5Gui/E5ModelMenu.py

changeset 5038
df7103c3f2a6
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
equal deleted inserted replaced
5037:b2b37d7c0791 5038:df7103c3f2a6
276 276
277 @param action reference to the action that was triggered (QAction) 277 @param action reference to the action that was triggered (QAction)
278 """ 278 """
279 idx = self.index(action) 279 idx = self.index(action)
280 if idx.isValid(): 280 if idx.isValid():
281 self._keyboardModifiers = QApplication.keyboardModifiers()
281 self.activated[QModelIndex].emit(idx) 282 self.activated[QModelIndex].emit(idx)
282 283
283 def index(self, action): 284 def index(self, action):
284 """ 285 """
285 Public method to get the index of an action. 286 Public method to get the index of an action.

eric ide

mercurial