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,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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue