Skip to content

Commit

Permalink
Fix multiframe resize behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Aug 19, 2012
1 parent 8e02e1f commit 5d18483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermultiframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void QgsComposerMultiFrame::handlePageChange()
}

//remove items beginning on non-existing pages
for ( int i = 0; i < mFrameItems.size(); ++i )
for ( int i = mFrameItems.size() - 1; i >= 0; --i )
{
QgsComposerFrame* frame = mFrameItems[i];
int page = frame->transform().dy() / ( mComposition->paperHeight() + mComposition->spaceBetweenPages() );
Expand Down

0 comments on commit 5d18483

Please sign in to comment.