Skip to content

Commit

Permalink
[composer] Correctly set initial state of atlas filename expression b…
Browse files Browse the repository at this point in the history
…utton (fix #10499)
  • Loading branch information
nyalldawson committed Jun 11, 2014
1 parent 1b18c58 commit bfb5aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/composer/qgsatlascompositionwidget.cpp
Expand Up @@ -312,7 +312,7 @@ void QgsAtlasCompositionWidget::updateGuiElements()

mAtlasSingleFileCheckBox->setCheckState( atlasMap->singleFile() ? Qt::Checked : Qt::Unchecked );
mAtlasFilenamePatternEdit->setEnabled( !atlasMap->singleFile() );
mAtlasFilenameExpressionButton->setEnabled( atlasMap->singleFile() );
mAtlasFilenameExpressionButton->setEnabled( !atlasMap->singleFile() );

mAtlasSortFeatureCheckBox->setCheckState( atlasMap->sortFeatures() ? Qt::Checked : Qt::Unchecked );
mAtlasSortFeatureDirectionButton->setEnabled( atlasMap->sortFeatures() );
Expand Down

0 comments on commit bfb5aaf

Please sign in to comment.