Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/core/layout/qgslayoutmultiframe.cpp
  • Loading branch information
elpaso authored and nyalldawson committed May 28, 2019
1 parent 3b7c0f8 commit bc65d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutmultiframe.cpp
Expand Up @@ -385,7 +385,7 @@ void QgsLayoutMultiFrame::handlePageChange()
}
}

if ( mFrameItems.count( ) )
if ( !mFrameItems.empty() )
{
//page number of the last item
QgsLayoutFrame *lastFrame = mFrameItems.last();
Expand Down

0 comments on commit bc65d25

Please sign in to comment.