Skip to content

Commit

Permalink
Merge pull request #12 from opengisch/fixLayersSymbology
Browse files Browse the repository at this point in the history
Fix layers symbology
  • Loading branch information
domi4484 authored Aug 31, 2023
2 parents 0398f2f + 93725a0 commit 833597a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pzp/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def set_expression_constraint_to_field(layer, field_name, expression, descriptio

def set_qml_style(layer, qml_name):
current_dir = os.path.dirname(os.path.abspath(__file__))
qml_file_path = os.path.join(current_dir, "qml", f"{qml_name}.qml")
qml_file_path = os.path.join(current_dir, "../qml", f"{qml_name}.qml")
layer.loadNamedStyle(qml_file_path)


Expand Down

0 comments on commit 833597a

Please sign in to comment.