fix(gui): Correct indentation bug in _render_mma_dashboard that caused crash

The code after the 'prior session' return block was incorrectly indented
at 1 space, placing it inside the 'if is_viewing_prior_session' block
instead of after it. This caused 'total_cost' and 'perc' to be undefined
when viewing an active session, triggering an IM_ASSERT error.

Fix: Moved 'track_name', 'track_stats', and 'total_cost' to the
correct 2-space indentation (method body level).
This commit is contained in:
2026-05-06 19:41:22 -04:00
parent 6bd052efc5
commit f6feab9243
9 changed files with 356 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
import math
import os
def only_imports():
pass