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:
marian 2009-06-10 14:39:07 +00:00
parent deb2d22bda
commit 5d2100af59
1 changed files with 1 additions and 1 deletions

View File

@ -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);