Project/FiletypeAssociationDialog.py

changeset 4830
f609a22f43bd
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
equal deleted inserted replaced
4829:35fe0232fb8f 4830:f609a22f43bd
151 self.addAssociationButton.setEnabled(True) 151 self.addAssociationButton.setEnabled(True)
152 if len(self.filetypeAssociationList.selectedItems()) == 0: 152 if len(self.filetypeAssociationList.selectedItems()) == 0:
153 self.deleteAssociationButton.setEnabled(False) 153 self.deleteAssociationButton.setEnabled(False)
154 else: 154 else:
155 self.deleteAssociationButton.setEnabled( 155 self.deleteAssociationButton.setEnabled(
156 self.filetypeAssociationList.selectedItems()[0].text(0) 156 self.filetypeAssociationList.selectedItems()[0]
157 == txt) 157 .text(0) == txt)
158 158
159 def transferData(self): 159 def transferData(self):
160 """ 160 """
161 Public slot to transfer the associations into the projects data 161 Public slot to transfer the associations into the projects data
162 structure. 162 structure.

eric ide

mercurial