Skip to content
Permalink
Browse files
Show frame entry independent of translation
  • Loading branch information
mhugent committed Jul 10, 2014
1 parent 46bd33e commit 0525c015c8785693ad519918f19595707cfcee12
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/composer/qgscomposermapwidget.cpp
@@ -1283,14 +1283,14 @@ void QgsComposerMapWidget::setGridItems( const QgsComposerMapGrid* grid )

//grid frame
mFrameWidthSpinBox->setValue( grid->gridFrameWidth() );
QgsComposerMap::GridFrameStyle gridFrameStyle = mComposerMap->gridFrameStyle();
QgsComposerMap::GridFrameStyle gridFrameStyle = grid->gridFrameStyle();
if ( gridFrameStyle == QgsComposerMap::Zebra )
{
mFrameStyleComboBox->setCurrentIndex( mFrameStyleComboBox->findText( tr( "Zebra" ) ) );
mFrameStyleComboBox->setCurrentIndex( 1 );
}
else //NoGridFrame
{
mFrameStyleComboBox->setCurrentIndex( mFrameStyleComboBox->findText( tr( "No frame" ) ) );
mFrameStyleComboBox->setCurrentIndex( 0 );
}

//line style

0 comments on commit 0525c01

Please sign in to comment.