Skip to content
Permalink
Browse files

Fix warnings, logic error

  • Loading branch information
nyalldawson committed Jul 6, 2016
1 parent bce15e8 commit 7dd610498293616cc0b6293bd3e00adf89dcb76b
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgslayerstylingwidget.cpp
  2. +1 −1 src/app/qgsvectorlayerproperties.cpp
@@ -317,7 +317,7 @@ void QgsLayerStylingWidget::updateCurrentWidgetLayer()
// TODO Make all widgets use this method.
if ( mUserPages.contains( row ) )
{
QgsMapLayerConfigWidget* panel = mUserPages[row]->createWidget( mCurrentLayer, mMapCanvas, mWidgetStack );
QgsMapLayerConfigWidget* panel = mUserPages[row]->createWidget( mCurrentLayer, mMapCanvas, true, mWidgetStack );
if ( panel )
{
connect( panel, SIGNAL( widgetChanged( QgsPanelWidget* ) ), this, SLOT( autoApply() ) );
@@ -338,7 +338,7 @@ void QgsVectorLayerProperties::addPropertiesPageFactory( QgsMapLayerConfigWidget
{
mOptionsListWidget->addItem( item );

QgsMapLayerConfigWidget* page = factory->createWidget( mLayer, nullptr, this );
QgsMapLayerConfigWidget* page = factory->createWidget( mLayer, nullptr, false, this );
mLayerPropertiesPages << page;
mOptionsStackedWidget->addWidget( page );
}

0 comments on commit 7dd6104

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