eric6/Project/ProjectBrowserSortFilterProxyModel.py

changeset 7265
0665c4d509c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Project/ProjectBrowserSortFilterProxyModel.py	Tue Sep 24 19:08:10 2019 +0200
+++ b/eric6/Project/ProjectBrowserSortFilterProxyModel.py	Tue Sep 24 19:44:17 2019 +0200
@@ -49,9 +49,11 @@
         try:
             if self.__filterType not in sitem.getProjectTypes():
                 return False
-            if self.hideGeneratedForms and \
-               self.__filterType == ProjectBrowserSourceType and \
-               sitem.data(0).startswith("Ui_"):
+            if (
+                self.hideGeneratedForms and
+                self.__filterType == ProjectBrowserSourceType and
+                sitem.data(0).startswith("Ui_")
+            ):
                 return False
         except AttributeError:
             pass

eric ide

mercurial