Return the correct result when setting custom widgets parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2702 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
deb2d22bda
commit
5d2100af59
|
@ -853,7 +853,7 @@ bool QtWindow::setParams(const NamedList& params)
|
|||
// Each parameter is a list of parameters for a custom widget
|
||||
// Parameter name is the widget's name
|
||||
unsigned int n = params.length();
|
||||
bool ok = false;
|
||||
bool ok = true;
|
||||
for (unsigned int i = 0; i < n; i++) {
|
||||
NamedString* ns = params.getParam(i);
|
||||
NamedList* nl = static_cast<NamedList*>(ns ? ns->getObject("NamedList") : 0);
|
||||
|
|
Loading…
Reference in New Issue