Patch level : 12.0 nopatch
Files correlati :
This commit is contained in:
parent
937e4f1f0c
commit
b3cc2229a8
@ -209,16 +209,12 @@ bool TGestAutoTrasp_mask::on_field_event(TOperable_field& o, TField_event e, lon
|
||||
if (e == fe_close) // Controllo sulla presenza dei codici causale nello spreadsheet
|
||||
{
|
||||
TSheet_field& sf = sfield(F_SHEET_CAUSALI);
|
||||
bool error = TRUE;
|
||||
for (int i=0; i < sf.items(); i++)
|
||||
bool error = true;
|
||||
for (int i = 0; error && i < sf.items(); i++)
|
||||
{
|
||||
TToken_string& tt = sf.row(i);
|
||||
const TString16 c = tt.get(F_CAUDEF - F_CAUMOV);
|
||||
if (!c.blank())
|
||||
{
|
||||
error = FALSE;
|
||||
break;
|
||||
}
|
||||
const TString16 c = sf.get_str_row_cell(i, F_CAUDEF);
|
||||
|
||||
error = c.blank();
|
||||
}
|
||||
if (error)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user