Update gallery_app.py
This commit is contained in:
1 parent
d3b7f31730
commit
cf1238bbff
1 file changed
+6
@@ -719,6 +719,12 @@ def build_header():
|
||||
state.load_active_profile()
|
||||
state.active_cat = "control" # Reset to default category
|
||||
SorterEngine.clear_staging_area() # Clear staging for new profile
|
||||
|
||||
# Auto-load if source path exists
|
||||
if os.path.exists(state.source_dir):
|
||||
load_images()
|
||||
else:
|
||||
state.all_images = []
|
||||
refresh_staged_info()
|
||||
refresh_ui()
|
||||
|
||||
|
||||
Reference in new issue
Block a user