Skip to content

Commit

Permalink
Update src/core/layout/qgslayoutmultiframe.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed May 30, 2019
1 parent cd768a7 commit 2274d56
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 2274d56

Please sign in to comment.