Skip to content

Commit

Permalink
Merge pull request #1382 from Oslandia/atlas_predefined_patch
Browse files Browse the repository at this point in the history
Atlas predefined scales: reload project scales before each preview action
  • Loading branch information
nyalldawson committed May 23, 2014
2 parents 45d0a9c + 82363f4 commit be706ed
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 be706ed

Please sign in to comment.