aggiunto riga per debug in caso di dirty=3

git-svn-id: svn://10.65.10.50/trunk@4175 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 1997-03-03 15:27:25 +00:00
parent 794c031116
commit 64e54ed45e

View File

@ -413,6 +413,10 @@ void TMask_field::set_dirty(bool d)
if (d == FALSE) // Non permette di annullare il dirty dei campi errati
return;
}
#ifdef DBG
if (d == 3)
_flags.dirty = d; // Riga per breakpoint
#endif
_flags.dirty = d;
set_focusdirty(d);
}
@ -2587,7 +2591,12 @@ bool TEdit_field::parse_item(TScanner& scanner)
if (b)
{
if (what == "US" || what == "AL")
_browse = new TBrowse(this, b->cursor());
{
if (_browse == NULL)
_browse = new TBrowse(this, b->cursor());
else
NFCHECK("COPY USE e USE nel campo %d", _ctl_data._dlg);
}
if (_browse)
{