Patch level : 10.0 0022
Files correlati : ba7.exe Ricompilazione Demo : [ ] Commento : Il postino su file caricava le trnsazioni piu di una volts cosi non riusciva a elliminare le riga dello sheet visto che il file era già stato elaborato git-svn-id: svn://10.65.10.50/trunk@16439 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
625082b39d
commit
73ef3caa86
@ -552,7 +552,8 @@ void TMailer_mask::test_delete()
|
|||||||
row->get(sender_pos, file); // Cartella di provenienza
|
row->get(sender_pos, file); // Cartella di provenienza
|
||||||
file.add(id);
|
file.add(id);
|
||||||
file.ext("ini");
|
file.ext("ini");
|
||||||
deleted = xvt_fsys_remove_file(file) != 0;
|
xvt_fsys_remove_file(file) != 0;
|
||||||
|
deleted = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (mailer == "MAPI")
|
if (mailer == "MAPI")
|
||||||
@ -1392,16 +1393,15 @@ void TMailer_mask::auto_save_all()
|
|||||||
if (_mail_semaphore == 0)
|
if (_mail_semaphore == 0)
|
||||||
{
|
{
|
||||||
TSheet_field& sf = sfield(F_MESSAGES);
|
TSheet_field& sf = sfield(F_MESSAGES);
|
||||||
|
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
if (sf.items() > 0 && yesno_box(TR("Si desidera eliminare i messaggi processati?")))
|
if (sf.items() > 0 && yesno_box(TR("Si desidera eliminare i messaggi processati?")))
|
||||||
#endif
|
#endif
|
||||||
test_delete();
|
test_delete();
|
||||||
|
if (sf.items() == 0)
|
||||||
fill_messages();
|
fill_messages();
|
||||||
if (!field(F_TIMER).empty())
|
|
||||||
{
|
|
||||||
if (sf.items() > 0)
|
if (sf.items() > 0)
|
||||||
save_all_lines();
|
save_all_lines();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
NFCHECK("Can't save locked mail");
|
NFCHECK("Can't save locked mail");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user