Modificato funzione membro autosave :
non salvava mai un campo maschera hidden. git-svn-id: svn://10.65.10.50/trunk@4115 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3aa9800162
commit
77507a7d0e
@ -1296,8 +1296,13 @@ void TMask::autosave(TRelation& r) const
|
|||||||
bool save = f.shown();
|
bool save = f.shown();
|
||||||
if (!save)
|
if (!save)
|
||||||
{
|
{
|
||||||
e.autoload(r);
|
//in questo modo si autorovinava il contenuto
|
||||||
save = f.empty();
|
//del campo a maschera
|
||||||
|
//e.autoload(r);
|
||||||
|
//save = e.empty();
|
||||||
|
TString str;
|
||||||
|
str = e.field()->read(r);
|
||||||
|
save = str.empty();
|
||||||
}
|
}
|
||||||
if (save)
|
if (save)
|
||||||
e.autosave(r);
|
e.autosave(r);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user