Patch level : 12.0 nopatch
Files correlati : Commento : Implementazione invio regolarizzazioni al 07/11/2021
This commit is contained in:
parent
5e3ae2faaa
commit
e0405077df
@ -2256,6 +2256,7 @@ void TReport::destroy()
|
||||
{
|
||||
_sections.destroy();
|
||||
_description.cut(0);
|
||||
_default_shown_sections.destroy();
|
||||
set_recordset(nullptr);
|
||||
}
|
||||
|
||||
@ -2350,6 +2351,14 @@ bool TReport::load(const char* fname)
|
||||
}
|
||||
}
|
||||
}
|
||||
FOR_EACH_ASSOC_OBJECT(_sections, os, sec_key, sec_item)
|
||||
{
|
||||
TReport_section * sect = (TReport_section *)sec_item;
|
||||
const bool section_shown = sect->shown();
|
||||
|
||||
if (section_shown)
|
||||
_default_shown_sections.add(sec_key);
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user