[QGIS Commit] r12789 - trunk/qgis/src/gui/symbology-ng

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Jan 18 10:56:30 EST 2010


Author: mhugent
Date: 2010-01-18 10:56:29 -0500 (Mon, 18 Jan 2010)
New Revision: 12789

Modified:
   trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Log:
Better update of line pattern icon

Modified: trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp
===================================================================
--- trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp	2010-01-18 15:49:01 UTC (rev 12788)
+++ trunk/qgis/src/gui/symbology-ng/qgssymbollayerv2widget.cpp	2010-01-18 15:56:29 UTC (rev 12789)
@@ -78,6 +78,7 @@
 void QgsSimpleLineSymbolLayerV2Widget::penWidthChanged()
 {
   mLayer->setWidth( spinWidth->value() );
+  updatePatternIcon();
   emit changed();
 }
 
@@ -88,6 +89,7 @@
     return;
   mLayer->setColor( color );
   btnChangeColor->setColor( mLayer->color() );
+  updatePatternIcon();
   emit changed();
 }
 
@@ -102,6 +104,7 @@
 void QgsSimpleLineSymbolLayerV2Widget::offsetChanged()
 {
   mLayer->setOffset( spinOffset->value() );
+  updatePatternIcon();
   emit changed();
 }
 



More information about the QGIS-commit mailing list