From 02e846ab5ea79808fd41cabe98a1e5cd38069afb Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Mon, 1 Aug 2016 19:31:55 +0300 Subject: [PATCH] expand all groups if filter applied --- python/plugins/processing/gui/GetScriptsAndModels.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/plugins/processing/gui/GetScriptsAndModels.py b/python/plugins/processing/gui/GetScriptsAndModels.py index b8ba04e54b5..c5db760ffd7 100644 --- a/python/plugins/processing/gui/GetScriptsAndModels.py +++ b/python/plugins/processing/gui/GetScriptsAndModels.py @@ -229,6 +229,9 @@ class GetScriptsAndModelsDialog(BASE, WIDGET): self.tree.addTopLevelItem(self.notinstalledItem) self.tree.addTopLevelItem(self.uptodateItem) + if text != '': + self.tree.expandAll() + self.txtHelp.setHtml(self.HELP_TEXT) def setHelp(self, reply, item):