Patch level : 12.0 744
Files correlati : ve5.exe Commento : Aggiunto controllo nel trasferimento documento per verificare che gli archivi siano compatibili (IMPREMED)
This commit is contained in:
parent
bfce1e0209
commit
cd377a874d
@ -232,6 +232,9 @@ bool TArchive_doc::restore_file(TIsamtempfile& src, bool update)
|
|||||||
{
|
{
|
||||||
TFast_isamfile dst(src.num());
|
TFast_isamfile dst(src.num());
|
||||||
|
|
||||||
|
if (src.curr().len() != dst.curr().len())
|
||||||
|
if (!yesnocancel_box(FR("Il file %s da ripristinare non è compatibile con lo stesso file\n nell'installazione andrebbe rigenerato"), src.description()))
|
||||||
|
return false;
|
||||||
TString msg; msg << TR("Trasferimento") << ' ' << dst.description();
|
TString msg; msg << TR("Trasferimento") << ' ' << dst.description();
|
||||||
TProgress_monitor pi(src.items(), msg);
|
TProgress_monitor pi(src.items(), msg);
|
||||||
for (int err = src.first(); err == NOERR; err = src.next())
|
for (int err = src.first(); err == NOERR; err = src.next())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user