Skip to content

Commit 64e8174

Browse files
authored
Merge pull request #7680 from elpaso/bugfix-19651-load-style-from-qml
Load style from QML when provider supports stored styles
2 parents 0a20621 + f68de97 commit 64e8174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsvectorlayerproperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ void QgsVectorLayerProperties::loadStyle_clicked()
991991
}
992992
else
993993
{
994-
myMessage = mLayer->loadNamedStyle( myFileName, defaultLoadedFlag );
994+
myMessage = mLayer->loadNamedStyle( myFileName, defaultLoadedFlag, true );
995995
}
996996
//reset if the default style was loaded OK only
997997
if ( defaultLoadedFlag )

0 commit comments

Comments
 (0)