removing relative paths and evaluating absolute ones
git-svn-id: svn://10.0.0.236/trunk@50801 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -572,7 +572,7 @@ BOOL CWizardUI::NewConfig(WIDGET *curWidget, CString globalsName)
|
||||
return FALSE;
|
||||
|
||||
CString tmpFunction = tmpWidget->action.function;
|
||||
CString params = CString(tmpWidget->action.parameters);
|
||||
CString params = theInterpreter->replaceVars(tmpWidget->action.parameters,NULL);
|
||||
theApp.GenerateList(tmpFunction, tmpWidget, params);
|
||||
|
||||
((CComboBox*)tmpWidget->control)->SelectString(0, configField);
|
||||
|
||||
@@ -440,7 +440,10 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
|
||||
w = theApp.findWidget(parms);
|
||||
|
||||
if (w)
|
||||
theApp.GenerateList(pcmd, w, p2);
|
||||
{
|
||||
CString p2path = replaceVars(p2,NULL);
|
||||
theApp.GenerateList(pcmd, w, p2path);
|
||||
}
|
||||
}
|
||||
else if (strcmp(pcmd, "BrowseFile") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user