Skip to content
Permalink
Browse files

Better update of line pattern icon

git-svn-id: http://svn.osgeo.org/qgis/trunk@12789 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jan 18, 2010
1 parent 005ac64 commit 4b90c8cccadf49d28929b07a0aa7545780955db9
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 4b90c8c

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