Project/FiletypeAssociationDialog.py

changeset 3034
7ce719013078
parent 3010
befeff46ec0f
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
149 self.addAssociationButton.setEnabled(True) 149 self.addAssociationButton.setEnabled(True)
150 if len(self.filetypeAssociationList.selectedItems()) == 0: 150 if len(self.filetypeAssociationList.selectedItems()) == 0:
151 self.deleteAssociationButton.setEnabled(False) 151 self.deleteAssociationButton.setEnabled(False)
152 else: 152 else:
153 self.deleteAssociationButton.setEnabled( 153 self.deleteAssociationButton.setEnabled(
154 self.filetypeAssociationList.selectedItems()[0].text(0) \ 154 self.filetypeAssociationList.selectedItems()[0].text(0)
155 == txt) 155 == txt)
156 156
157 def transferData(self): 157 def transferData(self):
158 """ 158 """
159 Public slot to transfer the associations into the projects data 159 Public slot to transfer the associations into the projects data

eric ide

mercurial