From 63066ef1917ab4da39c2e1441f9b6ed0a5e0eb5d Mon Sep 17 00:00:00 2001 From: angelo Date: Tue, 14 Nov 1995 16:43:06 +0000 Subject: [PATCH] "Chiusura della gestione profili"; ora in modo standard non e' piu' possibile modificare i bollettini e i profili standard. git-svn-id: svn://10.65.10.50/trunk@2153 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba2100.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ba/ba2100.cpp b/ba/ba2100.cpp index ef7beee23..b245a6d57 100755 --- a/ba/ba2100.cpp +++ b/ba/ba2100.cpp @@ -364,7 +364,11 @@ bool TForm_editor::ask_profile() TString16 fform = _m->get(F_BASE); TString80 fdesc = _m->get(F_DESC); long fcode = _m->get_long(F_CODE); - + if (!_extra && (fcode == 0 || fform.left(3) == "BOL")) + { + error_box("Non e' possibile modificare i profili standard o i bollettini.") ; + continue; + } if (k == K_ENTER) { if (_form != NULL) delete _form;