Skip to content
Permalink
Browse files

Set map canvas for style dock symbol widget

  • Loading branch information
nyalldawson committed Jun 27, 2016
1 parent c49af32 commit 3b1d4e231948c58a39c1864dac2536e39dc05b57
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgslayerstylingwidget.cpp
@@ -334,6 +334,7 @@ void QgsLayerStylingWidget::updateCurrentWidgetLayer()
case 0: // Style
{
QgsRendererV2PropertiesDialog* styleWidget = new QgsRendererV2PropertiesDialog( vlayer, QgsStyleV2::defaultStyle(), true, mStackedWidget );
styleWidget->setMapCanvas( mMapCanvas );
styleWidget->setDockMode( true );
connect( styleWidget, SIGNAL( widgetChanged() ), this, SLOT( autoApply() ) );
QgsPanelWidgetWrapper* wrapper = new QgsPanelWidgetWrapper( styleWidget, mStackedWidget );

0 comments on commit 3b1d4e2

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