src/eric7/Project/FiletypeAssociationDialog.py

branch
eric7
changeset 10430
e440aaf179ce
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10429:643989a1e2bd 10430:e440aaf179ce
151 151
152 def on_filePatternEdit_textChanged(self, txt): 152 def on_filePatternEdit_textChanged(self, txt):
153 """ 153 """
154 Private slot to handle the textChanged signal of the pattern lineedit. 154 Private slot to handle the textChanged signal of the pattern lineedit.
155 155
156 @param txt text of the line edit (string) 156 @param txt text of the line edit
157 @type str
157 """ 158 """
158 if not txt: 159 if not txt:
159 self.deleteAssociationButton.setEnabled(False) 160 self.deleteAssociationButton.setEnabled(False)
160 else: 161 else:
161 if len(self.filetypeAssociationList.selectedItems()) == 0: 162 if len(self.filetypeAssociationList.selectedItems()) == 0:

eric ide

mercurial