hide projections when not in portfolio mode
This commit is contained in:
parent
7014c326d1
commit
c58edb4f1c
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue