From f0fe5af2e3842cbf26999e32034eba7d2411fef7 Mon Sep 17 00:00:00 2001 From: angelo Date: Fri, 11 Oct 1996 07:54:10 +0000 Subject: [PATCH] Corretto MI6150, relativo alla richiesta selezione ditta. git-svn-id: svn://10.65.10.50/trunk@3751 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba3300.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ba/ba3300.cpp b/ba/ba3300.cpp index 360a9d596..8501e17a8 100755 --- a/ba/ba3300.cpp +++ b/ba/ba3300.cpp @@ -156,7 +156,8 @@ void BA3300_application::on_firm_change() { TPrintapp::on_firm_change(); - + + if (_msk == NULL) return; _msk->reset(); _nditte->setkey(1); _codice_ditta = get_firm(); @@ -263,8 +264,11 @@ const char* BA3300_application::decodifica_reg () bool BA3300_application::user_create() { - enable_print_menu(); + _msk = NULL; + if (get_firm() == 0L) + if (!set_firm()) return FALSE; + enable_print_menu(); _nditte = new TLocalisamfile (LF_NDITTE); _unloc = new TLocalisamfile (LF_UNLOC); _comuni = new TLocalisamfile (LF_COMUNI);