267 self.removeFiltersButton.setEnabled(False) |
267 self.removeFiltersButton.setEnabled(False) |
268 self.removeAttributesButton.setEnabled(False) |
268 self.removeAttributesButton.setEnabled(False) |
269 |
269 |
270 # save the current and selected filters |
270 # save the current and selected filters |
271 currentFilter = self.filtersList.currentItem() |
271 currentFilter = self.filtersList.currentItem() |
272 if currentFilter: |
272 currentFilterText = currentFilter.text() if currentFilter else "" |
273 currentFilterText = currentFilter.text() |
|
274 else: |
|
275 currentFilterText = "" |
|
276 selectedFiltersText = [ |
273 selectedFiltersText = [ |
277 itm.text() for itm in self.filtersList.selectedItems()] |
274 itm.text() for itm in self.filtersList.selectedItems()] |
278 |
275 |
279 # save the selected attributes |
276 # save the selected attributes |
280 selectedAttributesText = [ |
277 selectedAttributesText = [ |