hide top-level hidden folders too

This commit is contained in:
Tristan Rowley
2020-05-24 18:57:01 +00:00
parent 43223f963c
commit f43a3c2528

View File

@@ -80,6 +80,8 @@ class BrowserMenu(Menu):
indent = ' ' * 4 * (current_level)
for folder in sorted(dirs):
if folder[0]=='.':
continue
is_open, char = self._check_folder_state(folder)
self.menu_list.append(dict(name='{}{}{}'.format(indent, folder, char), slot='x'))
if (is_open):