Modificata gestione dell'* di salvo buon fine.
git-svn-id: svn://10.65.10.50/trunk@2355 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									d7c234cee6
								
							
						
					
					
						commit
						b5e0c8b8de
					
				| @ -290,12 +290,10 @@ void TEC_row::print_on(TPrint_section& body) | ||||
|    | ||||
|   TForm_item& esposto = body.find_field(PEC_ESPOSTO); | ||||
|   set_imp(esposto, _esposto, valuta); | ||||
|   esposto.set_prompt(_salvo_buon_fine ? "*" : " "); | ||||
|    | ||||
|   TForm_item& lire = body.find_field(PEC_IMPLIRE); | ||||
|   lire.set(_importo_lire.string()); | ||||
| 
 | ||||
|   TForm_item& sbf = body.find_field(PEC_SBF); | ||||
|   sbf.set(_salvo_buon_fine ? "*" : " "); | ||||
|    | ||||
|   TForm_item& cambio = body.find_field(PEC_CAMBIO); | ||||
|   cambio.set(_valuta.cambio().string()); | ||||
| @ -306,9 +304,10 @@ void TEC_row::print_on(TPrint_section& body) | ||||
|   const TString old_prompt(descr.prompt()); | ||||
|   descr.set_prompt("");   // Nasconde temporaneamente il prompt per non stampare i <magic>
 | ||||
| 
 | ||||
|   body.update(); | ||||
|   body.update();          // Crea vera riga di stampa
 | ||||
| 
 | ||||
|   descr.set_prompt(old_prompt);   // Ripristina il vecchio prompt
 | ||||
|   esposto.set_prompt(" ");    // Ripristina il vecchi prompt
 | ||||
|   descr.set_prompt(old_prompt);    | ||||
| } | ||||
| 
 | ||||
| ///////////////////////////////////////////////////////////
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user