Make sure margin spin box is always enabled when applicable

This commit is contained in:
nyalldawson 2013-04-20 19:12:23 +10:00
parent ea493273fc
commit f0e6b7564e

View File

@ -463,6 +463,7 @@ void QgsAtlasCompositionWidget::updateGuiElements()
else
{
mAtlasMarginRadio->setChecked( true );
mAtlasMarginSpinBox->setEnabled( true );
}
mAtlasHideCoverageCheckBox->setCheckState( atlasMap->hideCoverage() ? Qt::Checked : Qt::Unchecked );
mAtlasSingleFileCheckBox->setCheckState( atlasMap->singleFile() ? Qt::Checked : Qt::Unchecked );