Skip to content

Commit

Permalink
Fix #3510
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Feb 20, 2011
1 parent 4b29b80 commit 47cb1b8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Expand Up @@ -48,10 +48,16 @@ void QgsSimpleLineSymbolLayerV2Widget::setSymbolLayer( QgsSymbolLayerV2* layer )
// set values
spinWidth->setValue( mLayer->width() );
btnChangeColor->setColor( mLayer->color() );
cboPenStyle->setPenStyle( mLayer->penStyle() );
spinOffset->setValue( mLayer->offset() );
cboPenStyle->blockSignals( true );
cboJoinStyle->blockSignals( true );
cboCapStyle->blockSignals( true );
cboPenStyle->setPenStyle( mLayer->penStyle() );
cboJoinStyle->setPenJoinStyle( mLayer->penJoinStyle() );
cboCapStyle->setPenCapStyle( mLayer->penCapStyle() );
cboPenStyle->blockSignals( false );
cboJoinStyle->blockSignals( false );
cboCapStyle->blockSignals( false );

//use a custom dash pattern?
bool useCustomDashPattern = mLayer->useCustomDashPattern();
Expand Down

0 comments on commit 47cb1b8

Please sign in to comment.