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:
parent
f2dff103a8
commit
681b07688c
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue