Skip to content

Commit

Permalink
[layouts] Don't list 3d map as first item type
Browse files Browse the repository at this point in the history
Given a choice between the 3d map option being the first item type
listed (before even 2d maps) or last, lets move it to last...
  • Loading branch information
nyalldawson committed Nov 21, 2020
1 parent d47a654 commit cfbd089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -13172,6 +13172,8 @@ void QgisApp::initNativeProcessing()

void QgisApp::initLayouts()
{
QgsLayoutGuiUtils::registerGuiForKnownItemTypes( mMapCanvas );

// 3D map item
#ifdef HAVE_3D
QgsApplication::layoutItemRegistry()->addLayoutItemType(
Expand All @@ -13191,8 +13193,6 @@ void QgisApp::initLayouts()
QgsGui::layoutItemGuiRegistry()->addLayoutItemGuiMetadata( map3dMetadata.release() );
#endif

QgsLayoutGuiUtils::registerGuiForKnownItemTypes( mMapCanvas );

mLayoutQptDropHandler = new QgsLayoutQptDropHandler( this );
registerCustomLayoutDropHandler( mLayoutQptDropHandler );
mLayoutImageDropHandler = new QgsLayoutImageDropHandler( this );
Expand Down

0 comments on commit cfbd089

Please sign in to comment.