Skip to content

Commit 6d2367f

Browse files
committed
[diagrams] Fix initial value of transparency slider not set (fix #13434)
1 parent 1fd3ed7 commit 6d2367f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/qgsdiagramproperties.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ QgsDiagramProperties::QgsDiagramProperties( QgsVectorLayer* layer, QWidget* pare
255255
QSizeF size = settingList.at( 0 ).size;
256256
mBackgroundColorButton->setColor( settingList.at( 0 ).backgroundColor );
257257
mTransparencySpinBox->setValue( settingList.at( 0 ).transparency * 100.0 / 255.0 );
258+
mTransparencySlider->setValue( mTransparencySpinBox->value() );
258259
mDiagramPenColorButton->setColor( settingList.at( 0 ).penColor );
259260
mPenWidthSpinBox->setValue( settingList.at( 0 ).penWidth );
260261
mDiagramSizeSpinBox->setValue(( size.width() + size.height() ) / 2.0 );

0 commit comments

Comments
 (0)