if ( !aStricklerTableObj.IsNull() )
{
// Get Strickler table data from the data model
- TColStd_SequenceOfExtendedString aTypes = aStricklerTableObj->GetTypes();
- for ( int i = 1; i <= aTypes.Length(); i++ )
+ QStringList aTypes = aStricklerTableObj->GetTypes();
+ for ( QStringList::iterator it = aTypes.begin(); it != aTypes.end(); ++it )
{
- QString aType = HYDROGUI_Tool::ToQString( aTypes.Value( i ) );
- if ( !aType.isEmpty() && !aStricklerTypes.contains( aType ))
+ QString aType = *it;
+ if ( !aType.isEmpty() && !aStricklerTypes.contains( aType ) )
aStricklerTypes.append( aType );
}
}
}
+
aStricklerTypes.sort();
aPanel->setAdditionalParams( aStricklerTypes );
return true;
// Check if the land cover object is already modified or not
- bool isConfirmed = myEditedObject->IsMustBeUpdated();
+ bool isConfirmed = myEditedObject->IsMustBeUpdated( HYDROData_Entity::Geom_2d );
if ( !isConfirmed )
{
// If not modified check if the land cover has already defined polylines