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
This commit is contained in:
LemonNexus 2026-02-11 15:54:29 +00:00
parent f2dff103a8
commit 681b07688c
1 changed files with 5 additions and 1 deletions

View File

@ -218,6 +218,10 @@ class TGAConverterDialog(QDialog):
self.files_list.clear() self.files_list.clear()
self.files_count_label.setText("Scanning...") self.files_count_label.setText("Scanning...")
# 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() cache_path = self.converter.find_cache_folder()
if cache_path: if cache_path: