diff --git a/main.py b/main.py index edaddd4..2d53590 100644 --- a/main.py +++ b/main.py @@ -2506,8 +2506,10 @@ class DownloaderApp(QWidget): is_only_archives = self.radio_only_archives and self.radio_only_archives.isChecked() is_only_audio = hasattr(self, 'radio_only_audio') and self.radio_only_audio.isChecked() - can_enable_subfolder_per_post_checkbox = not is_only_links and not is_only_archives and not is_only_audio - + # "Subfolder per Post" can be enabled if it's not "Only Links" and not "Only Archives". + # This means it CAN be enabled for "All", "Images/GIFs", "Videos", and "Only Audio" modes. + can_enable_subfolder_per_post_checkbox = not is_only_links and not is_only_archives + if self.use_subfolder_per_post_checkbox: self.use_subfolder_per_post_checkbox.setEnabled(can_enable_subfolder_per_post_checkbox) @@ -4489,4 +4491,4 @@ if __name__ == '__main__': print("--- CRITICAL APPLICATION ERROR ---") print(f"An unhandled exception occurred: {e}") traceback.print_exc() - print("--- END CRITICAL ERROR ---") + print("--- END CRITICAL ERROR ---") \ No newline at end of file