Skip to content

Commit

Permalink
Fixed FileSelector file icon on selected files
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 2, 2021
1 parent 20617c8 commit e40b2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/widgets/file_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _update_files(self, event=None, refresh=False):
if os.path.isdir(check):
dirs.append(s)
elif os.path.isfile(check):
dirs.append(s)
files.append(s)

paths = [p for p in sorted(dirs)+sorted(files)
if self.show_hidden or not os.path.basename(p).startswith('.')]
Expand Down

0 comments on commit e40b2db

Please sign in to comment.