From f4ea67e046f9d00c5640c9e92b7130bc52775fb3 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 29 Dec 1995 11:16:41 +0000 Subject: [PATCH] Corretta disablitazione se cambio ricalcolo automatico git-svn-id: svn://10.65.10.50/trunk@2364 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2104.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cg/cg2104.cpp b/cg/cg2104.cpp index 119ac8022..d2f890b9a 100755 --- a/cg/cg2104.cpp +++ b/cg/cg2104.cpp @@ -385,8 +385,11 @@ bool TPrimanota_application::recalc_handler(TMask_field& f, KEY key) TPagamento& pag = app().pagamento(); if (pag.tipo_prima_rata() >= 4) { - ps.enable_cell(0, 1, on); - ps.enable_cell(0, 2, on); + ps.enable_cell(0, 1, !on); + ps.enable_cell(0, 2, !on); + if (on) + ps.disable_cell(0, 3); + ps.force_update(0); } }