Correzione alla TRelation_application::test_key().
Resa uguale alla test_key_complete() in maskfld.cpp: il controllo sui campi chiave viene fatto solo su quelli visibili git-svn-id: svn://10.65.10.50/trunk@5059 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f4f3fdc1f6
commit
790a12d1f8
@ -522,7 +522,7 @@ bool TRelation_application::test_key(
|
|||||||
e != NULL;
|
e != NULL;
|
||||||
e = _mask->get_key_field(k, FALSE))
|
e = _mask->get_key_field(k, FALSE))
|
||||||
{
|
{
|
||||||
if (e->required())
|
if (e->required() && e->shown())
|
||||||
{
|
{
|
||||||
onereq = TRUE;
|
onereq = TRUE;
|
||||||
if (e->empty())
|
if (e->empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user