Skip to content
Permalink
Browse files

Fix for #1784.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11097 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jul 16, 2009
1 parent ed39a17 commit 1c31becfa10c44825f5bc63742d163579e637726
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 1c31bec

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