Skip to content

Commit

Permalink
Merge pull request #7680 from elpaso/bugfix-19651-load-style-from-qml
Browse files Browse the repository at this point in the history
Load style from QML when provider supports stored styles
  • Loading branch information
elpaso committed Aug 23, 2018
2 parents 0a20621 + f68de97 commit 64e8174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -991,7 +991,7 @@ void QgsVectorLayerProperties::loadStyle_clicked()
}
else
{
myMessage = mLayer->loadNamedStyle( myFileName, defaultLoadedFlag );
myMessage = mLayer->loadNamedStyle( myFileName, defaultLoadedFlag, true );
}
//reset if the default style was loaded OK only
if ( defaultLoadedFlag )
Expand Down

0 comments on commit 64e8174

Please sign in to comment.