Skip to content
Permalink
Browse files

Fix for #8705, duplication of composer should inherit custom paper size

  • Loading branch information
dakcarto committed Sep 28, 2013
1 parent b2396f6 commit 121d76e2a7ff08c1ce4c61f32dfb28725ded28f7
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/composer/qgscompositionwidget.cpp
@@ -369,6 +369,7 @@ void QgsCompositionWidget::displayCompositionWidthHeight()
setSize( mPaperHeightDoubleSpinBox, paperHeight );

//set orientation
mPaperOrientationComboBox->blockSignals( true );
if ( paperWidth > paperHeight )
{
mPaperOrientationComboBox->setCurrentIndex( mPaperOrientationComboBox->findText( tr( "Landscape" ) ) );
@@ -377,6 +378,7 @@ void QgsCompositionWidget::displayCompositionWidthHeight()
{
mPaperOrientationComboBox->setCurrentIndex( mPaperOrientationComboBox->findText( tr( "Portrait" ) ) );
}
mPaperOrientationComboBox->blockSignals( false );

//set paper name
bool found = false;

0 comments on commit 121d76e

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