Skip to content

Commit

Permalink
Fix for #1784.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11097 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso committed Jul 16, 2009
1 parent 859a204 commit ea0e14f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -1899,14 +1899,15 @@ QString QgsGrassModuleOption::value()
else if ( mControlType == CheckBoxes )
{
int cnt = 0;
for ( unsigned int i = 0; i < mCheckBoxes.size(); i++ )
QStringList values;
for ( unsigned int i = 0; i < mCheckBoxes.size(); ++i )
{
if ( mCheckBoxes[i]->isChecked() )
{
if ( cnt > 0 ) value.append( "," );
value.append( mValues[i] );
values.append( mValues[i] );
}
}
value = values.join(",");
}
return value;
}
Expand Down

0 comments on commit ea0e14f

Please sign in to comment.