Skip to content

Commit

Permalink
Avoid empty extent 0,0,0,0 with the new extent widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Dec 11, 2023
1 parent fc24144 commit 8d08a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,7 @@ def project_config_file(
liz2json['options']['bbox'] = self.project.readListEntry('WMSExtent', '')[0]

# set initialExtent values if not defined
if not self.dlg.widget_initial_extent.outputExtent().isNull():
if self.dlg.widget_initial_extent.outputExtent().isNull():
self.set_initial_extent_from_project()

# gui user defined options
Expand Down

0 comments on commit 8d08a3b

Please sign in to comment.