Skip to content
Permalink
Browse files

[diagrams] Fix initial value of transparency slider not set (fix #13434)

  • Loading branch information
nyalldawson committed Oct 5, 2015
1 parent 1fd3ed7 commit 6d2367f0b3ae492af222b5e4859e64e25f57aafe
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsdiagramproperties.cpp
@@ -255,6 +255,7 @@ QgsDiagramProperties::QgsDiagramProperties( QgsVectorLayer* layer, QWidget* pare
QSizeF size = settingList.at( 0 ).size;
mBackgroundColorButton->setColor( settingList.at( 0 ).backgroundColor );
mTransparencySpinBox->setValue( settingList.at( 0 ).transparency * 100.0 / 255.0 );
mTransparencySlider->setValue( mTransparencySpinBox->value() );
mDiagramPenColorButton->setColor( settingList.at( 0 ).penColor );
mPenWidthSpinBox->setValue( settingList.at( 0 ).penWidth );
mDiagramSizeSpinBox->setValue(( size.width() + size.height() ) / 2.0 );

0 comments on commit 6d2367f

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