Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MovieSelection.py] Make empty directories deletable #3500

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/python/Screens/MovieSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,9 @@ def delete(self, *args):
folder_filename = split(split(name)[0])[1]
self.session.openWithCallback(self.delete, MessageBox, _("'%s' contains %d file(s) and %d sub-directories.\n") % (folder_filename, files, subdirs) + are_you_sure, windowTitle=self.getTitle())
return
else:
self.session.openWithCallback(self.delete, MessageBox, are_you_sure, windowTitle=self.getTitle())
return
else:
if TRASHCAN in cur_path:
are_you_sure = _("Do you really want to permanently remove from trash can ?")
Expand Down