164 self.removeDocumentsButton.setEnabled( |
164 self.removeDocumentsButton.setEnabled( |
165 len(self.documentsList.selectedItems()) != 0 |
165 len(self.documentsList.selectedItems()) != 0 |
166 ) |
166 ) |
167 |
167 |
168 @pyqtSlot(str) |
168 @pyqtSlot(str) |
169 def on_filterEdit_textChanged(self, txt): |
169 def on_filterEdit_textChanged(self, _txt): |
170 """ |
170 """ |
171 Private slot to react on changes of the document filter text. |
171 Private slot to react on changes of the document filter text. |
172 |
172 |
173 @param txt current entry of the filter |
173 @param _txt current entry of the filter (unused) |
174 @type str |
174 @type str |
175 """ |
175 """ |
176 self.__applyDocumentsListFilter() |
176 self.__applyDocumentsListFilter() |
177 |
177 |
178 @pyqtSlot() |
178 @pyqtSlot() |