fix(gui): skip _switch_project if already on that project

Prevents reloading and state issues when clicking same project
This commit is contained in:
2026-05-10 23:33:50 -04:00
parent b328cd4e68
commit 8d8c6ab0ac
3 changed files with 18 additions and 11 deletions
+2
View File
@@ -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