Skip to content

Commit

Permalink
Better update of line pattern icon
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12789 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 18, 2010
1 parent 005ac64 commit 4b90c8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Expand Up @@ -78,6 +78,7 @@ QgsSymbolLayerV2* QgsSimpleLineSymbolLayerV2Widget::symbolLayer()
void QgsSimpleLineSymbolLayerV2Widget::penWidthChanged()
{
mLayer->setWidth( spinWidth->value() );
updatePatternIcon();
emit changed();
}

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

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

Expand Down

0 comments on commit 4b90c8c

Please sign in to comment.