Skip to content
Permalink
Browse files

[composer] Fix scalebar widgets not updated when changing units (fix #…

  • Loading branch information
nyalldawson committed Oct 22, 2015
1 parent 71d88a7 commit dc6c12b6c333fe31fd249c96fc64f87261da2716
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/app/composer/qgscomposerscalebarwidget.cpp
@@ -617,6 +617,11 @@ void QgsComposerScaleBarWidget::on_mUnitsComboBox_currentIndexChanged( int index
}

mComposerScaleBar->update();

mUnitLabelLineEdit->setText( mComposerScaleBar->unitLabeling() );
mSegmentSizeSpinBox->setValue( mComposerScaleBar->numUnitsPerSegment() );
mMapUnitsPerBarUnitSpinBox->setValue( mComposerScaleBar->numMapUnitsPerScaleBarUnit() );

connectUpdateSignal();
mComposerScaleBar->endCommand();
}

0 comments on commit dc6c12b

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