Cambiata _not_empty_chkfld_val().
git-svn-id: svn://10.65.10.50/trunk@1861 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
683be83832
commit
c2e96baace
@ -631,7 +631,12 @@ HIDDEN bool _alpha_val(TEdit_field& f, KEY k)
|
||||
|
||||
HIDDEN bool _not_empty_chkfld_val(TEdit_field& f, KEY k)
|
||||
{
|
||||
const bool ok = (f.to_check(k) && f.get().not_empty()) ? f.check() : TRUE;
|
||||
bool ok = TRUE;
|
||||
if (f.to_check(k) && f.get().not_empty())
|
||||
{
|
||||
TBrowse * b = f.browse();
|
||||
if (b != NULL) ok = b->check(k == K_TAB ? RUNNING_CHECK : FINAL_CHECK);
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user