Skip to content
Permalink
Browse files
[composer] Follow up 78ecef6, fix setting line width in scalebars
  • Loading branch information
nyalldawson committed Feb 5, 2014
1 parent 17546e7 commit b85faf1478c878b141a2a12bdad736fe98b16728
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/composer/qgscomposerscalebarwidget.cpp
@@ -206,7 +206,9 @@ void QgsComposerScaleBarWidget::on_mLineWidthSpinBox_valueChanged( double d )

mComposerScaleBar->beginCommand( tr( "Scalebar line width" ), QgsComposerMergeCommand::ScaleBarLineWidth );
disconnectUpdateSignal();
mComposerScaleBar->setFrameOutlineWidth( d );
QPen newPen = mComposerScaleBar->pen();
newPen.setWidthF( d );
mComposerScaleBar->setPen( newPen );
mComposerScaleBar->update();
connectUpdateSignal();
mComposerScaleBar->endCommand();

0 comments on commit b85faf1

Please sign in to comment.