Skip to content
Permalink
Browse files

Fix for #1784.

git-svn-id: http://svn.osgeo.org/qgis/trunk@11097 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jul 16, 2009
1 parent 859a204 commit ea0e14f81d829496afd8da2e036f970d45e26474
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/plugins/grass/qgsgrassmodule.cpp
@@ -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;
}

0 comments on commit ea0e14f

Please sign in to comment.
You can’t perform that action at this time.