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

Please sign in to comment.