Corretti errori CINZIA
git-svn-id: svn://10.65.10.50/trunk@3574 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									f9b938f706
								
							
						
					
					
						commit
						8a0578bf47
					
				| @ -38,6 +38,7 @@ TSaldaconto_app::TSaldaconto_app() | ||||
| 
 | ||||
| bool TSaldaconto_app::create() | ||||
| {    | ||||
|   open_files(LF_TAB, LF_TABCOM, LF_CLIFO, 0);                       | ||||
|   open_files(LF_PARTITE, LF_SCADENZE, LF_PAGSCA, 0);   | ||||
| 
 | ||||
|   _msk = new TMask("sc0100a"); | ||||
|  | ||||
| @ -946,22 +946,6 @@ bool TGame_mask::edit_fattura(TPartita& p, int nriga) | ||||
| }               | ||||
| 
 | ||||
| bool TGame_mask::prima_nota(const long nreg) | ||||
| {    | ||||
|   bool ok = TRUE; | ||||
|    | ||||
| /* Attualmente tutte le mnodifiche vengono salvata subito
 | ||||
|   if (_changed) | ||||
|   { | ||||
|     ok = yesno_box("Registrare le parite modificate?"); | ||||
|     if (ok) | ||||
|     { | ||||
|       app().partite().rewrite();  | ||||
|       _changed = FALSE;             // Resetta flag di cambiato
 | ||||
|     }   | ||||
|   } | ||||
| */ | ||||
|    | ||||
|   if (ok) | ||||
| {    | ||||
|   app().partite().destroy();       // Distrugge tutte le partite in memoria
 | ||||
| 
 | ||||
| @ -970,10 +954,9 @@ bool TGame_mask::prima_nota(const long nreg) | ||||
|   TString numreg; numreg << "1|" << nreg; | ||||
|   TMessage msg(pn, MSG_LN, numreg); | ||||
|   msg.send();                      // Messaggio di collegamento al movimento nreg
 | ||||
|     ok = prima_nota.run() == 0;      // Lancia la prima nota
 | ||||
|   bool ok = prima_nota.run() == 0; // Lancia la prima nota
 | ||||
| 
 | ||||
|   fill_partite();                  // Rilegge partite
 | ||||
|   } | ||||
|    | ||||
|   return ok; | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user