From c58edb4f1c6acd8a3ff128f5c539b74e0ed0bdca Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 28 Apr 2026 15:54:21 -0700 Subject: [PATCH] hide projections when not in portfolio mode --- src/tui.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tui.zig b/src/tui.zig index 407012e..bd7b637 100644 --- a/src/tui.zig +++ b/src/tui.zig @@ -2221,6 +2221,7 @@ pub fn run( // Disable analysis tab when no portfolio is loaded (analysis requires portfolio) if (app_inst.portfolio == null) { app_inst.analysis_disabled = true; + app_inst.projections_disabled = true; } // History tab also requires a portfolio path to locate the // history/ subdirectory.