Skip to content

Commit

Permalink
Merge pull request #105 from opengisch/raster-qml
Browse files Browse the repository at this point in the history
Fix: Load style for raster layers as well
  • Loading branch information
signedav authored Jul 18, 2024
2 parents 3559d7c + 940d64e commit c43ea23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelbaker/dataobjects/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ def create(
if layer.layer.type() == QgsMapLayer.VectorLayer:
# even when a style will be loaded we create the form because not sure if the style contains form settngs
layer.create_form(self)
layer.load_styles()
layer.store_variables(self)
layer.load_styles()

if self.legend:
self.legend.create(qgis_project, group)
Expand Down

0 comments on commit c43ea23

Please sign in to comment.