From eb46e8eb567cecb3ef1d7631483d140a15ce52db Mon Sep 17 00:00:00 2001 From: luca83 Date: Thu, 14 Jan 2010 14:05:02 +0000 Subject: [PATCH] Patch level : 10.0 patch 5?? Files correlati : lv0 Ricompilazione Demo : [ ] Commento : fatto in modo che non vengano aggiunte righe vuote dopo l'ultima premendo la freccia in basso git-svn-id: svn://10.65.10.50/trunk@19925 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- lv/lv0400.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lv/lv0400.cpp b/lv/lv0400.cpp index 9b18a86d2..f3acef0fc 100755 --- a/lv/lv0400.cpp +++ b/lv/lv0400.cpp @@ -8,7 +8,7 @@ #include "lvrcondv.h" #include "lvlib.h" -#include "../cg/cglib01.h" +//#include "../cg/cglib01.h" #include "../mg/clifogiac.h" #include "../ve/rcondv.h" @@ -879,9 +879,9 @@ bool TContratti_app:: user_create() else _codart = ""; - TDate datasc(TODAY); - if (esercizi().date2esc(datasc) == 0) - return error_box("Attenzione non esiste l'esercizio corrispondente al %s", datasc.string()); + const TDate oggi(TODAY); + if (esercizi().date2esc(oggi) == 0) + return error_box("Attenzione non esiste l'esercizio corrispondente al %s", oggi.string()); _rel=new TRelation (LF_LVCONDV); _msk= new TContratti_msk; @@ -890,7 +890,7 @@ bool TContratti_app:: user_create() TSheet_field& ss = _msk->sfield(F_RIGHE); - ss.set_auto_append(); + ss.set_auto_append(false); ss.set_append(false); return true;