We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b2396f6 commit 121d76eCopy full SHA for 121d76e
src/app/composer/qgscompositionwidget.cpp
@@ -369,6 +369,7 @@ void QgsCompositionWidget::displayCompositionWidthHeight()
369
setSize( mPaperHeightDoubleSpinBox, paperHeight );
370
371
//set orientation
372
+ mPaperOrientationComboBox->blockSignals( true );
373
if ( paperWidth > paperHeight )
374
{
375
mPaperOrientationComboBox->setCurrentIndex( mPaperOrientationComboBox->findText( tr( "Landscape" ) ) );
@@ -377,6 +378,7 @@ void QgsCompositionWidget::displayCompositionWidthHeight()
377
378
379
mPaperOrientationComboBox->setCurrentIndex( mPaperOrientationComboBox->findText( tr( "Portrait" ) ) );
380
}
381
+ mPaperOrientationComboBox->blockSignals( false );
382
383
//set paper name
384
bool found = false;
0 commit comments