Transcribe using file buffer straight from form

This commit is contained in:
Lukasz
2024-03-11 20:55:47 +01:00
parent dde206facd
commit c4daf3ec71
4 changed files with 70 additions and 5 deletions

View File

@ -146,9 +146,9 @@ func (this *FullParams) TestDefaultsOK() bool {
return false
}
if this.cStruct.Language != English {
return false
}
// if this.cStruct.Language != English {
// return false
// }
// Todo ... why do these not line up as expected.. is our struct out of alignment ?
/*
@ -214,6 +214,7 @@ func NewFullParams(cstruct *_FullParams) *FullParams {
}
func _newFullParams_cStruct() *_FullParams {
return &_FullParams{
strategy: 0,

View File

@ -207,6 +207,7 @@ func (context *IContext) FullDefaultParams(strategy eSamplingStrategy) (*FullPar
return nil, errors.New("FullDefaultParams did not return params")
}
ParamObj := NewFullParams(params)
// ParamObj.SetLanguage(Polish)
if ParamObj.TestDefaultsOK() {
return ParamObj, nil