diff --git a/pe/pe0400.cpp b/pe/pe0400.cpp index 9f273e802..46fa54828 100755 --- a/pe/pe0400.cpp +++ b/pe/pe0400.cpp @@ -889,7 +889,9 @@ bool TGestione_preventivo_msk::pe_k_handler(TMask_field& f, KEY k) TString ge; real perc; - row_mask.reset(FR_JOLLY2); +// row_mask.reset(FR_JOLLY2); + sh->row(r).add("", sh->cid2index(FR_JOLLY2)); + sh->force_update(r); for (int i = r + 2; i <= doc.physical_rows(); i++) { TRiga_documento & row = doc[i]; @@ -917,7 +919,7 @@ bool TGestione_preventivo_msk::pe_k_handler(TMask_field& f, KEY k) shrow.add(prezzo.get_num().string(), sh->cid2index(FR_PREZZO)); } } - sh->force_update(); + mask.update_costi_ricavi(r + 1, true); } return true;