Skip to content
Permalink
Browse files

fix #1805

git-svn-id: http://svn.osgeo.org/qgis/trunk@11244 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Aug 2, 2009
1 parent 70bf84b commit 4e881148af430333792996c479a71705c55f81fa
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgssinglesymboldialog.cpp
@@ -477,7 +477,7 @@ void QgsSingleSymbolDialog::updateSet( const QgsSymbol *sy )
if ( lstSymbols->isEnabled() && lstSymbols->currentItem()->data( Qt::UserRole ).toString() != sy->pointSymbolName() )
lstSymbols->setEnabled( false );

if ( mPointSizeSpinBox->isEnabled() && mPointSizeSpinBox->value() != sy->pointSize() )
if ( mPointSizeSpinBox->isEnabled() && !doubleNear( mPointSizeSpinBox->value(), sy->pointSize() ) )
mPointSizeSpinBox->setEnabled( false );

if ( mPointSizeUnitsCheckBox->isEnabled() && mPointSizeUnitsCheckBox->isChecked() != sy->pointSizeUnits() )
@@ -495,7 +495,7 @@ void QgsSingleSymbolDialog::updateSet( const QgsSymbol *sy )
mSymbolComboBox->itemData( mSymbolComboBox->currentIndex() ).toInt() != sy->symbolField() )
mSymbolComboBox->setEnabled( false );

if ( outlinewidthspinbox->isEnabled() && outlinewidthspinbox->value() != sy->pen().widthF() )
if ( outlinewidthspinbox->isEnabled() && !doubleNear( outlinewidthspinbox->value(), sy->pen().widthF() ) )
outlinewidthspinbox->setEnabled( false );

if ( btnFillColor->isEnabled() && btnFillColor->color() != sy->brush().color() )

0 comments on commit 4e88114

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