diff --git a/lv/lv0400.cpp b/lv/lv0400.cpp index c30bc05c7..9ffdc2b5b 100755 --- a/lv/lv0400.cpp +++ b/lv/lv0400.cpp @@ -697,7 +697,7 @@ bool TContratti_msk::on_field_event(TOperable_field& o,TField_event e,long jolly } } break; - case DLG_PACKTCLI: + case DLG_RESET: if (e == fe_button && yesno_box(TR("Si è sicuri di voler azzerare i conguagli di questo contratto?"))) azzera_conguaglio(); default: diff --git a/lv/lv0400.h b/lv/lv0400.h index 0a2cc5ef8..a72cb841f 100755 --- a/lv/lv0400.h +++ b/lv/lv0400.h @@ -48,6 +48,7 @@ #define F_TPDOC 248 #define F_DESCR 249 #define F_REDDI 250 +#define DLG_RESET 251 // Campi del dettalio sotto lo spreadsheet diff --git a/lv/lv0400a.uml b/lv/lv0400a.uml index 03ccc99ef..a5e7f2bb0 100755 --- a/lv/lv0400a.uml +++ b/lv/lv0400a.uml @@ -15,6 +15,18 @@ BEGIN PICTURE 156 END +BUTTON DLG_NULL 2 2 +BEGIN + PROMPT -1 1 "" + PICTURE 0 +END + +BUTTON DLG_RESET 2 2 +BEGIN + PROMPT 1 1 "Conguaglio" + PICTURE TOOL_RESET +END + #include ENDPAGE