Skip to content

Commit

Permalink
Atlas predefined scales: reload project scales before each preview ac…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Hugo Mercier committed May 23, 2014
1 parent e8b7ca9 commit 82363f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -949,6 +949,7 @@ void QgsComposer::on_mActionAtlasNext_triggered()
return;
}

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

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

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

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

0 comments on commit 82363f4

Please sign in to comment.