mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
hide top-level hidden folders too
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user