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 305a42a6a666d7be08af102c45c987919a67c645
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/composer/qgscomposer.cpp
@@ -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.
You can’t perform that action at this time.