File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ void QgsBrowserLayerProperties::setItem( QgsDataItem *item )
150
150
{
151
151
if ( layer->isValid () )
152
152
{
153
+ bool ok = false ;
154
+ layer->loadDefaultMetadata ( ok );
153
155
layerCrs = layer->crs ();
154
156
layerMetadata = layer->htmlMetadata ();
155
157
}
@@ -163,6 +165,8 @@ void QgsBrowserLayerProperties::setItem( QgsDataItem *item )
163
165
{
164
166
if ( layer->isValid () )
165
167
{
168
+ bool ok = false ;
169
+ layer->loadDefaultMetadata ( ok );
166
170
layerCrs = layer->crs ();
167
171
layerMetadata = layer->htmlMetadata ();
168
172
}
@@ -176,6 +180,8 @@ void QgsBrowserLayerProperties::setItem( QgsDataItem *item )
176
180
{
177
181
if ( layer->isValid () )
178
182
{
183
+ bool ok = false ;
184
+ layer->loadDefaultMetadata ( ok );
179
185
layerCrs = layer->crs ();
180
186
layerMetadata = layer->htmlMetadata ();
181
187
}
You can’t perform that action at this time.
0 commit comments