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;