Skip to content

Commit

Permalink
[composer] Make sure atlas navigation controls are disabled if no mat…
Browse files Browse the repository at this point in the history
…ching atlas features are found
  • Loading branch information
nyalldawson committed Jan 6, 2014
1 parent 0ae2b1a commit 305a42a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -851,6 +851,10 @@ void QgsComposer::on_mActionAtlasPreview_triggered( bool checked )
QMessageBox::Ok );
mActionAtlasPreview->blockSignals( true );
mActionAtlasPreview->setChecked( false );
mActionAtlasFirst->setEnabled( false );
mActionAtlasLast->setEnabled( false );
mActionAtlasNext->setEnabled( false );
mActionAtlasPrev->setEnabled( false );
mActionAtlasPreview->blockSignals( false );
mStatusAtlasLabel->setText( QString() );
return;
Expand Down

0 comments on commit 305a42a

Please sign in to comment.