diff --git a/include/maskfld.cpp b/include/maskfld.cpp index 7e6256911..fbf79e037 100755 --- a/include/maskfld.cpp +++ b/include/maskfld.cpp @@ -3072,8 +3072,8 @@ bool TProfile_select::check(CheckTime ct) // TReport_select /////////////////////////////////////////////////////////// -TReport_select::TReport_select(TEdit_field* ef, const char* library) -: TBrowse_button(ef), _library(library) +TReport_select::TReport_select(TEdit_field* ef, const char* classe) +: TBrowse_button(ef), _classe(classe) { } void TReport_select::parse_input(TScanner& scanner) @@ -3089,7 +3089,7 @@ void TReport_select::parse_output(TScanner& scanner) KEY TReport_select::run() { TFilename path = field().get(); - if (select_custom_file(path, "rep", _library)) + if (select_custom_file(path, "rep", _classe)) { path = path.name(); path.ext(""); diff --git a/include/maskfld.h b/include/maskfld.h index d989e90fb..7202ab77b 100755 --- a/include/maskfld.h +++ b/include/maskfld.h @@ -1053,7 +1053,7 @@ public: class TReport_select : public TBrowse_button { - TString _library; + TString _classe; public: // @cmember Controlla la sintassi della input del campo e ne setta i membri @@ -1069,7 +1069,7 @@ public: virtual bool is_filesel() const { return true; } - TReport_select(TEdit_field* ef, const char* library); + TReport_select(TEdit_field* ef, const char* classe); virtual ~TReport_select() { } }; diff --git a/include/recset.cpp b/include/recset.cpp index e63dc3914..229a3d79b 100755 --- a/include/recset.cpp +++ b/include/recset.cpp @@ -821,7 +821,7 @@ bool list_custom_files(const char* ext, const char* classe, TString_array& files bool select_custom_file(TFilename& path, const char* ext, const char* classe) { - TArray_sheet sheet(-1, -1, 78, 20, TR("Selezione"), HR("Nome@8|Classe|Descrizione@50|Custom")); + TArray_sheet sheet(-1, -1, 78, 20, TR("Selezione"), HR("Nome@8|Classe@8|Descrizione@50|Custom")); TString_array& files = sheet.rows_array(); TFilename first = path.name(); first.ext(""); // Riga su cui posizionarsi bool ok = list_custom_files(ext, classe, files);