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 |