Commit 712a4877 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

PlacemarkLayer: implicitly request style reset whenever default label color changes

parent f239902b
......@@ -898,7 +898,6 @@ void MarbleMapPrivate::updateMapTheme()
m_placemarkLayer.setShowMaria( q->propertyValue("maria") );
m_placemarkLayer.setDefaultLabelColor( m_model->mapTheme()->map()->labelColor() );
m_placemarkLayer.requestStyleReset();
foreach( RenderPlugin *renderPlugin, m_layerManager.renderPlugins() ) {
bool propertyAvailable = false;
......
......@@ -114,6 +114,7 @@ QVector<const GeoDataPlacemark *> PlacemarkLayer::whichPlacemarkAt( const QPoint
void PlacemarkLayer::setDefaultLabelColor( const QColor& color )
{
m_defaultLabelColor = color;
m_layout.requestStyleReset();
}
void PlacemarkLayer::setShowPlaces( bool show )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment