Patch level : 12.0 438
Files correlati : ca0.exe Il campo tree con le commesse/fasi o centri di costo quando erano più di 2048 non veniva creato e in conseguenza veniva generato un errore quando il programma cercava di usarlo. git-svn-id: svn://10.65.10.50/branches/R_10_00@24090 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c261f3562c
commit
aa246a5e70
@ -1520,8 +1520,6 @@ int TSimple_anal_msk::compute_offset() const
|
||||
}
|
||||
TLocalisamfile lif(ln);
|
||||
const TRecnotype recs = lif.items();
|
||||
if (recs > 2048) // Niente alberi enormi ... per ora
|
||||
delta = 0;
|
||||
}
|
||||
|
||||
return delta;
|
||||
@ -2111,15 +2109,18 @@ void TAnal_app::init_query_mode(TMask& mask)
|
||||
d.set_field("");
|
||||
}
|
||||
|
||||
TToken_string keys(m.get_curr_key());
|
||||
if (m.id2pos(F_TREE) > 0)
|
||||
{
|
||||
TToken_string keys(m.get_curr_key());
|
||||
|
||||
for (int j = 0 ; j < i - 1; j++)
|
||||
{
|
||||
const short id = m.get_field_id(j, 1);
|
||||
TEdit_field& e = m.efield(id);
|
||||
for (int j = 0 ; j < i - 1; j++)
|
||||
{
|
||||
const short id = m.get_field_id(j, 1);
|
||||
TEdit_field& e = m.efield(id);
|
||||
|
||||
e.set(keys.get(j));
|
||||
}
|
||||
e.set(keys.get(j));
|
||||
}
|
||||
}
|
||||
m.first_focus(m.get_field_id(0, 1));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user