diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d2f6df..50f22f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Added `Line` option to subtitle generation modes, allowing subtitles to be generated based on line breaks in the text, by @mleg in #94. - Fixed `cannot access local variable 'is_narrow'` error when subtitle format `SRT` was selected, mentioned by @Kinasa0096 in #88. - Fixed folder and filename sanitization to properly handle OS-specific illegal characters (Windows, Linux, macOS), ensuring compatibility across all platforms when creating chapter folders and files. +- Fixed `/` and `\` path display by normalizing paths. - Improvements in code and documentation. # 1.1.9 diff --git a/abogen/queue_manager_gui.py b/abogen/queue_manager_gui.py index d8c9dea..1a5d2ee 100644 --- a/abogen/queue_manager_gui.py +++ b/abogen/queue_manager_gui.py @@ -207,6 +207,8 @@ class QueueManager(QDialog): def process_queue(self): """Process the queue items.""" + import os + self.listwidget.clear() if not self.queue: self.empty_overlay.resize(self.listwidget.size()) @@ -227,7 +229,6 @@ class QueueManager(QDialog): # Only show the file name, not the full path display_name = display_file_path - import os if os.path.sep in display_file_path: display_name = os.path.basename(display_file_path)