fix(gui): skip _switch_project if already on that project
Prevents reloading and state issues when clicking same project
This commit is contained in:
@@ -2344,6 +2344,8 @@ class AppController:
|
||||
"""
|
||||
[C: src/gui_2.py:App._render_projects_panel]
|
||||
"""
|
||||
if path == self.active_project_path:
|
||||
return
|
||||
if not Path(path).exists():
|
||||
self.ai_status = f"project file not found: {path}"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user