mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
Update src/core/layout/qgslayoutmultiframe.cpp
This commit is contained in:
parent
3b7c0f8579
commit
bc65d2587d
@ -385,7 +385,7 @@ void QgsLayoutMultiFrame::handlePageChange()
|
||||
}
|
||||
}
|
||||
|
||||
if ( mFrameItems.count( ) )
|
||||
if ( !mFrameItems.empty() )
|
||||
{
|
||||
//page number of the last item
|
||||
QgsLayoutFrame *lastFrame = mFrameItems.last();
|
||||
|
Loading…
x
Reference in New Issue
Block a user