Skip to content

Commit

Permalink
Make sure "keep layer styles" checkbox is enabled only when "keep lay…
Browse files Browse the repository at this point in the history
…ers" is checked
  • Loading branch information
wonder-sk committed Jan 19, 2015
1 parent 15068e5 commit 368fe68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/composer/qgscomposermapwidget.cpp
Expand Up @@ -644,6 +644,7 @@ void QgsComposerMapWidget::updateGuiElements()
mKeepLayerListCheckBox->setCheckState( Qt::Unchecked );
}

mKeepLayerStylesCheckBox->setEnabled( mComposerMap->keepLayerSet() );
mKeepLayerStylesCheckBox->setCheckState( mComposerMap->keepLayerStyles() ? Qt::Checked : Qt::Unchecked );

//draw canvas items
Expand Down

0 comments on commit 368fe68

Please sign in to comment.