Project/FiletypeAssociationDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
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].text(0)
157 == txt) 157 == 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

eric ide

mercurial