Skip to content

Commit

Permalink
[GRASS] fixed crash when edit renderer is set manually
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Oct 16, 2015
1 parent f810573 commit b2ca9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/grass/qgsgrasseditrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ QgsGrassEditRendererWidget::QgsGrassEditRendererWidget( QgsVectorLayer* layer, Q
mRenderer = dynamic_cast<QgsGrassEditRenderer*>( renderer->clone() );
if ( !mRenderer )
{
return;
mRenderer = new QgsGrassEditRenderer();
}

QVBoxLayout* layout = new QVBoxLayout( this );
Expand Down

0 comments on commit b2ca9d5

Please sign in to comment.