From 8d08a3b7bc101a8586705b8ee3beda68dc15de7b Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Mon, 11 Dec 2023 16:21:52 +0100 Subject: [PATCH] Avoid empty extent 0,0,0,0 with the new extent widget --- lizmap/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lizmap/plugin.py b/lizmap/plugin.py index fcc05aa1..a189dd4e 100755 --- a/lizmap/plugin.py +++ b/lizmap/plugin.py @@ -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