Patch level : 10.0

Files correlati     : fe0.exe
Ricompilazione Demo : [ ]
Commento            :
Corretta abilitazione bottone registra dopo +Contratto


git-svn-id: svn://10.65.10.50/branches/R_10_00@22564 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2012-01-26 17:29:40 +00:00
parent b939b3ea25
commit cdfb83ce80

View File

@ -1170,7 +1170,8 @@ void TDati_rilevanti_msk::alleg_sort(TSheet_field& s) const
{
const long codcf_i = atol(s.cell(i, c_codcf));
int j = -1;
if (codcf_i == 37789)
int cazzone = 1;
// Cerca la fattura andando in su
for (j = i-1; j >= 0; j--)
{
@ -1416,7 +1417,7 @@ void TDati_rilevanti_msk::enable_buttons()
if (id2pos(DLG_COPY) > 0) // Solo 10.0
enable(DLG_COPY, full_rows);
enable(DLG_CANCEL, full_rows);
enable(DLG_SAVEREC, _sheet_dirty);
enable(DLG_SAVEREC,full_rows && _sheet_dirty);
enable(DLG_EXPORT, full_rows);
enable(DLG_RECALC, !full_rows && good_year && !one_sent);
enable(DLG_ELABORA, good_year && !(one_sent && def));
@ -1625,6 +1626,9 @@ bool TDati_rilevanti_msk::on_field_event(TOperable_field& o, TField_event e, lon
}
}
s.force_update();
_sheet_dirty = true;
enable_buttons();
}
}
break;