[layouts] Fix missing map name in map item properties dialog

Fixes #18288
This commit is contained in:
Nyall Dawson 2018-03-02 10:27:01 +10:00
parent b5d9e7a7cf
commit 2238b42501

View File

@ -596,7 +596,7 @@ void QgsLayoutMapWidget::updateGuiElements()
}
blockAllSignals( true );
mLabel->setText( tr( "Map %1" ).arg( mMapItem->id() ) );
mLabel->setText( mMapItem->displayName() );
whileBlocking( mCrsSelector )->setCrs( mMapItem->presetCrs() );