Private
Public Access
0
0

fix(regression): for adding files in the files & media panel.

This commit is contained in:
2026-06-14 22:43:42 -04:00
parent dcdcaa92f6
commit 2d51199699
+2 -1
View File
@@ -3521,6 +3521,7 @@ def render_files_and_media(app: App) -> None:
imgui.dummy(imgui.ImVec2(0, 5))
if imgui.button("Add Files to Inventory"):
r = hide_tk_root(); paths = filedialog.askopenfilenames(); r.destroy()
from src import models
for p in paths:
if p not in [f.path if hasattr(f, "path") else f for f in app.files]: app.files.append(models.FileItem(path=p))
imgui.same_line()
@@ -6456,7 +6457,7 @@ def render_mma_track_summary(app: App) -> None:
| ETA: ~14m (6 tickets remaining) |
+---------------------------------------------------------+
"""
is_nerv = theme.is_nerv_active()
is_nerv = theme.is_nerv_active()
track_name = app.active_track.description if app.active_track else "None"
if getattr(app, "ui_project_execution_mode", "native") == "beads": track_name = "Beads Graph"
track_stats = project_manager.calculate_track_progress(app.active_track.tickets if app.active_track else app.active_tickets)