- allow parameter changes while running
This commit is contained in:
@@ -971,12 +971,15 @@ static void ErrReport(pEVControl self)
|
||||
{
|
||||
ObPar *pPar = NULL;
|
||||
char pBueffel[512];
|
||||
int iRet;
|
||||
int iRet, savedStatus;
|
||||
|
||||
assert(self);
|
||||
assert(pCon);
|
||||
|
||||
savedStatus = GetStatus(); /* fool status check in ObParSet (avoid "Cannot change parameter while running" message */
|
||||
SetStatus(eBatch);
|
||||
iRet = ObParSet(self->pParam,self->pName,name,fVal,pCon);
|
||||
SetStatus(savedStatus);
|
||||
if(!iRet)
|
||||
{
|
||||
return iRet;
|
||||
|
||||
Reference in New Issue
Block a user