Update src/core/layout/qgslayoutmultiframe.cpp

This commit is contained in:
Alessandro Pasotti 2019-05-28 11:56:40 +02:00 committed by Nyall Dawson
parent 3b7c0f8579
commit bc65d2587d

View File

@ -385,7 +385,7 @@ void QgsLayoutMultiFrame::handlePageChange()
}
}
if ( mFrameItems.count( ) )
if ( !mFrameItems.empty() )
{
//page number of the last item
QgsLayoutFrame *lastFrame = mFrameItems.last();