Skip to content
Permalink
Browse files
Block spinbox signals in simple fill widget while setting offset. Fix…
…es bug #3073

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14322 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 2, 2010
1 parent 76596e9 commit f365b6e23064e90149484c962d894bb487d1dcce
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
@@ -289,8 +289,12 @@ void QgsSimpleFillSymbolLayerV2Widget::setSymbolLayer( QgsSymbolLayerV2* layer )
btnChangeBorderColor->setColor( mLayer->borderColor() );
cboBorderStyle->setPenStyle( mLayer->borderStyle() );
spinBorderWidth->setValue( mLayer->borderWidth() );
spinOffsetX->blockSignals( true );
spinOffsetX->setValue( mLayer->offset().x() );
spinOffsetX->blockSignals( false );
spinOffsetY->blockSignals( true );
spinOffsetY->setValue( mLayer->offset().y() );
spinOffsetY->blockSignals( false );
}

QgsSymbolLayerV2* QgsSimpleFillSymbolLayerV2Widget::symbolLayer()

0 comments on commit f365b6e

Please sign in to comment.