if ( selected.contains( QString( objStr.in() ) ) )
{
if ( !IsPreview() )
- (*anIter)->SetParameters(aParameters.join(":").toLatin1().constData());
+ (*anIter)->SetParameters(aParameters.join(":").toUtf8().constData());
objects.push_back( *anIter );
}
else
{
GEOM::GEOM_Object_var anObj = GEOM::GEOM_Object::_duplicate( aList[i] );
if ( !IsPreview() )
- anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+ anObj->SetParameters(aParameters.join(":").toUtf8().constData());
objects.push_back( anObj._retn() );
}
}