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 |