Skip to content

Commit

Permalink
Merge pull request #281 from gkahiu/pwl_reporting_fixes
Browse files Browse the repository at this point in the history
Integration Fixes
  • Loading branch information
Samweli authored Nov 6, 2023
2 parents 15dc72b + d21b554 commit 361fd31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cplus_plugin/gui/qgis_cplus_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def add_priority_layer_group(self, target_group=None, priority_layer=None):
settings_manager.save_priority_layer(priority_layer)

# Trigger check to enable/disable PWLs based on current extent
self.on_extent_changed()
self.on_extent_changed(self.extent_box.outputExtent())

def remove_priority_layer_group(self):
"""Remove the current select priority layer from the current priority group."""
Expand Down
2 changes: 1 addition & 1 deletion src/cplus_plugin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def report_template_path(file_name=None) -> str:
if file_name is None:
file_name = TEMPLATE_NAME

absolute_path = f"{FileUtils.plugin_dir()}/app_data/reports/{file_name}"
absolute_path = f"{FileUtils.plugin_dir()}/data/reports/{file_name}"

return os.path.normpath(absolute_path)

Expand Down

0 comments on commit 361fd31

Please sign in to comment.