Skip to content
Permalink
Browse files

[layouts] Don't list 3d map as first item type

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 cfbd0890e5832f01ccf7e40e0556232d9e3f1d5f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -13172,6 +13172,8 @@ void QgisApp::initNativeProcessing()

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

// 3D map item
#ifdef HAVE_3D
QgsApplication::layoutItemRegistry()->addLayoutItemType(
@@ -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 );

0 comments on commit cfbd089

Please sign in to comment.
You can’t perform that action at this time.