Skip to content
Permalink
Browse files
Atlas predefined scales: reload project scales before each preview ac…
…tion
  • Loading branch information
Hugo Mercier committed May 23, 2014
1 parent e8b7ca9 commit 82363f4fb197cefd2473d85aa6b61d00e70ffe8a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/composer/qgscomposer.cpp
@@ -949,6 +949,7 @@ void QgsComposer::on_mActionAtlasNext_triggered()
return;
}

loadAtlasPredefinedScalesFromProject();
atlasMap->nextFeature();
emit( atlasPreviewFeatureChanged() );
}
@@ -961,6 +962,7 @@ void QgsComposer::on_mActionAtlasPrev_triggered()
return;
}

loadAtlasPredefinedScalesFromProject();
atlasMap->prevFeature();
emit( atlasPreviewFeatureChanged() );
}
@@ -973,6 +975,7 @@ void QgsComposer::on_mActionAtlasFirst_triggered()
return;
}

loadAtlasPredefinedScalesFromProject();
atlasMap->firstFeature();
emit( atlasPreviewFeatureChanged() );
}
@@ -985,6 +988,7 @@ void QgsComposer::on_mActionAtlasLast_triggered()
return;
}

loadAtlasPredefinedScalesFromProject();
atlasMap->lastFeature();
emit( atlasPreviewFeatureChanged() );
}

0 comments on commit 82363f4

Please sign in to comment.