Project/FiletypeAssociationDialog.py

changeset 3010
befeff46ec0f
parent 2995
63d874899b8b
child 3034
7ce719013078
child 3057
10516539f238
equal deleted inserted replaced
3009:bf5ae5d7477d 3010:befeff46ec0f
76 76
77 @param pattern pattern of the entry (string) 77 @param pattern pattern of the entry (string)
78 @param filetype file type of the entry (string) 78 @param filetype file type of the entry (string)
79 @return reference to the newly generated entry (QTreeWidgetItem) 79 @return reference to the newly generated entry (QTreeWidgetItem)
80 """ 80 """
81 itm = QTreeWidgetItem(self.filetypeAssociationList, [pattern, filetype]) 81 itm = QTreeWidgetItem(
82 self.filetypeAssociationList, [pattern, filetype])
82 return itm 83 return itm
83 84
84 def on_filetypeAssociationList_currentItemChanged(self, itm, prevItm): 85 def on_filetypeAssociationList_currentItemChanged(self, itm, prevItm):
85 """ 86 """
86 Private slot to handle the currentItemChanged signal of the 87 Private slot to handle the currentItemChanged signal of the

eric ide

mercurial