Skip to content
Permalink
Browse files

Better update of line pattern icon

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12789 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jan 18, 2010
1 parent bde0672 commit 7cc7e6fa94de6c677e9ec893aa023b020aee8561
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
@@ -78,6 +78,7 @@ QgsSymbolLayerV2* QgsSimpleLineSymbolLayerV2Widget::symbolLayer()
void QgsSimpleLineSymbolLayerV2Widget::penWidthChanged()
{
mLayer->setWidth( spinWidth->value() );
updatePatternIcon();
emit changed();
}

@@ -88,6 +89,7 @@ void QgsSimpleLineSymbolLayerV2Widget::colorChanged()
return;
mLayer->setColor( color );
btnChangeColor->setColor( mLayer->color() );
updatePatternIcon();
emit changed();
}

@@ -102,6 +104,7 @@ void QgsSimpleLineSymbolLayerV2Widget::penStyleChanged()
void QgsSimpleLineSymbolLayerV2Widget::offsetChanged()
{
mLayer->setOffset( spinOffset->value() );
updatePatternIcon();
emit changed();
}

0 comments on commit 7cc7e6f

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