From 681b07688c69dd89dfb2c1bb0ccfa01320a2d69c Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Wed, 11 Feb 2026 15:54:29 +0000 Subject: [PATCH] fix: respect manually selected cache folder path - _scan_cache now checks if manual path is set before auto-finding - Fixes issue where browsing and selecting path was ignored --- ui/tga_converter_dialog.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/tga_converter_dialog.py b/ui/tga_converter_dialog.py index deca786..80f11c9 100644 --- a/ui/tga_converter_dialog.py +++ b/ui/tga_converter_dialog.py @@ -218,7 +218,11 @@ class TGAConverterDialog(QDialog): self.files_list.clear() self.files_count_label.setText("Scanning...") - cache_path = self.converter.find_cache_folder() + # Use manually set path if available, otherwise find it + if self.converter._cache_path and self.converter._cache_path.exists(): + cache_path = self.converter._cache_path + else: + cache_path = self.converter.find_cache_folder() if cache_path: self.cache_path_label.setText(str(cache_path))