Chain the current report to the current session
This commit is contained in:
parent
c1ab9cad30
commit
052b1f28b7
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ global_scope_t::global_scope_t(char ** envp)
|
||||||
// a GUI were calling into Ledger it would have one session object per
|
// a GUI were calling into Ledger it would have one session object per
|
||||||
// open document, with a separate report_t object for each report it
|
// open document, with a separate report_t object for each report it
|
||||||
// generated.
|
// generated.
|
||||||
report_stack.push_front(new report_t(session()));
|
report_stack.push_front(new report_t(*session_ptr));
|
||||||
scope_t::default_scope = &report();
|
scope_t::default_scope = &report();
|
||||||
|
|
||||||
// Read the user's options, in the following order:
|
// Read the user's options, in the following order:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue