Skip to content
Permalink
Browse files
[composer] Make sure atlas navigation controls are disabled if no mat…
…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.
@@ -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;

0 comments on commit 305a42a

Please sign in to comment.