Skip to content

Commit

Permalink
correctly restore state of the Processing settings when search text is
Browse files Browse the repository at this point in the history
cleared (fix #34543)
  • Loading branch information
alexbruy authored and nyalldawson committed Jun 18, 2022
1 parent 5d39f49 commit 6d41343
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/plugins/processing/gui/ConfigDialog.py
Expand Up @@ -132,14 +132,13 @@ def textChanged(self, text=None):
text = str(text.lower())
else:
text = str(self.searchBox.text().lower())
found = self._filterItem(self.model.invisibleRootItem(), text)
found = self._filterItem(self.model.invisibleRootItem(), text, False if text else True)

self.auto_adjust_columns = False
if text:
self.tree.expandAll()
else:
self.tree.collapseAll()

self.adjustColumns()
self.auto_adjust_columns = True

Expand Down

0 comments on commit 6d41343

Please sign in to comment.