Skip to content
Permalink
Browse files

Load default QGIS metadata for layers in browser layer metadata panel

  • Loading branch information
nyalldawson committed Oct 2, 2018
1 parent dcca55c commit 82c6281e0e942be8c6e0b447c8c51e3bddc826c9
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/gui/qgsbrowserdockwidget_p.cpp
@@ -150,6 +150,8 @@ void QgsBrowserLayerProperties::setItem( QgsDataItem *item )
{
if ( layer->isValid() )
{
bool ok = false;
layer->loadDefaultMetadata( ok );
layerCrs = layer->crs();
layerMetadata = layer->htmlMetadata();
}
@@ -163,6 +165,8 @@ void QgsBrowserLayerProperties::setItem( QgsDataItem *item )
{
if ( layer->isValid() )
{
bool ok = false;
layer->loadDefaultMetadata( ok );
layerCrs = layer->crs();
layerMetadata = layer->htmlMetadata();
}
@@ -176,6 +180,8 @@ void QgsBrowserLayerProperties::setItem( QgsDataItem *item )
{
if ( layer->isValid() )
{
bool ok = false;
layer->loadDefaultMetadata( ok );
layerCrs = layer->crs();
layerMetadata = layer->htmlMetadata();
}

0 comments on commit 82c6281

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