Skip to content

Commit

Permalink
Load style from QML when provider supports stored styles
Browse files Browse the repository at this point in the history
Fixes #19651 - Style loading issue
  • Loading branch information
elpaso committed Aug 22, 2018
1 parent 66dd676 commit f68de97
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 f68de97

Please sign in to comment.