Skip to content
Permalink
Browse files

[ui] properly size symbols in the layer properties' dependencies list

  • Loading branch information
nirvn committed Jun 16, 2018
1 parent e6bd0bc commit 312c901ea06c0327861cc76e8078a896743b6e3c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsvectorlayerproperties.cpp
@@ -386,6 +386,8 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
layer->setItemVisibilityChecked( dependencySources.contains( layer->layerId() ) );
}

QgsMapSettings ms = QgisApp::instance()->mapCanvas()->mapSettings();
mLayersDependenciesTreeModel->setLegendMapViewData( QgisApp::instance()->mapCanvas()->mapUnitsPerPixel(), ms.outputDpi(), ms.scale() );
mLayersDependenciesTreeView->setModel( mLayersDependenciesTreeModel.get() );

connect( mRefreshLayerCheckBox, &QCheckBox::toggled, mRefreshLayerIntervalSpinBox, &QDoubleSpinBox::setEnabled );

0 comments on commit 312c901

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