Patch level : 10.0
Files correlati : cg2.exe Ricompilazione Demo : [ ] Commento : Corretta gestione transazioni con reverse charge git-svn-id: svn://10.65.10.50/trunk@20102 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4d606778c7
commit
0a6e9841b0
@ -221,7 +221,11 @@ bool TPrimanota_application::save_and_quit() const
|
||||
{
|
||||
bool quit = TRelation_application::save_and_quit();
|
||||
if (quit && _automatico->_step == 1)
|
||||
quit = false; // Impedisce di uscire durante il reverse charge
|
||||
{
|
||||
if (TRelation_application::is_transaction())
|
||||
app().edit_mask2ini(); // Fool const
|
||||
quit = false; // Impedisce di uscire durante il reverse charge
|
||||
}
|
||||
return quit;
|
||||
}
|
||||
|
||||
@ -1861,7 +1865,6 @@ void TPrimanota_application::mask2ini(const TMask& msk, TConfig& ini)
|
||||
const char* name = rec.fieldname(f);
|
||||
ini.set(name, rec.get(name));
|
||||
}
|
||||
|
||||
}
|
||||
for ( ; ini.set_paragraph(format("%d,%d", LF_RMOV, i+1)); i++)
|
||||
ini.remove_all();
|
||||
|
Loading…
x
Reference in New Issue
Block a user