grass.diff

Giovanni Manghi, 2011-10-29 03:56 PM

Download (797 Bytes)

View differences:

src/plugins/grass/qgsgrassmodule.cpp
2534 2534
    }
2535 2535
  }
2536 2536

  
2537
  if ( !mGeometryTypeOption.isNull() && current < mGeometryTypes.size() )
2537
  if ( !mGeometryTypeOption.isEmpty() && current < mGeometryTypes.size() )
2538 2538
  {
2539 2539
    opt = mGeometryTypeOption + "=" + mGeometryTypes[current] ;
2540 2540
    list.push_back( opt );
2541 2541
  }
2542 2542

  
2543
  if ( !mVectorLayerOption.isNull() && current < mVectorLayerNames.size() )
2543
  if ( !mVectorLayerOption.isEmpty() && current < mVectorLayerNames.size() )
2544 2544
  {
2545 2545
    opt = mVectorLayerOption + "=" + mVectorLayerNames[current] ;
2546 2546
    list.push_back( opt );