Patch level : 10.0
Files correlati : ce1.exe Ricompilazione Demo : [ ] Commento : Coretta gestione specie e categoria git-svn-id: svn://10.65.10.50/trunk@18204 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
958c8fd522
commit
1f94a1de94
@ -157,7 +157,7 @@ bool TMov_qmask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
||||
{
|
||||
case F_ESERCIZIO:
|
||||
if ((e == fe_close || e == fe_modify) && efield(F_INIZIO_ES).empty())
|
||||
return error_box("Inserire un esercizio valido");
|
||||
return error_box(TR("Inserire un esercizio valido"));
|
||||
if (e == fe_init || e == fe_modify)
|
||||
{
|
||||
int esercizio = get_int(F_ESERCIZIO);
|
||||
@ -168,13 +168,16 @@ bool TMov_qmask::on_field_event(TOperable_field& o, TField_event e, long jolly)
|
||||
if (gruppo.full())
|
||||
{
|
||||
set(F_GRUPPO, gruppo);
|
||||
set(F_SPECIE, specie);
|
||||
set(F_SPECIE, specie.rtrim(), 0x3);
|
||||
}
|
||||
} //niente break!!!!! è fatto apposta per far scattare i successivi controlli su gruppo e specie
|
||||
case F_GRUPPO:
|
||||
case F_SPECIE:
|
||||
calcola_stato_attivita();
|
||||
enable(DLG_NEWREC, _staat != 3);
|
||||
if (e == fe_init || e == fe_modify)
|
||||
{
|
||||
const int sa = calcola_stato_attivita();
|
||||
enable(DLG_NEWREC, sa != 3);
|
||||
}
|
||||
break;
|
||||
case F_IMPIANTO:
|
||||
case F_IDCESPITE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user