Skip to content

Commit

Permalink
Fix #572 Warn the user about outdated QGIS version 3.36
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed May 28, 2024
1 parent 23affb3 commit 49ec2c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lizmap/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3825,10 +3825,15 @@ def project_config_file(
if any(x != x for x in layer_options['extent']):
if layer.isSpatial():
# https://github.com/3liz/lizmap-plugin/issues/571
if 33600 <= Qgis.QGIS_VERSION_INT < 33603:
msg = tr('A bug has been identified with QGIS 3.36.0 to 3.36.2 included, please change.')
else:
msg = ""
QMessageBox.warning(
self.dlg,
'Lizmap',
tr(
msg
+ tr(
'Please check your layer extent for "{}" with the ID "{}".'
'The extent does not seem valid.'
).format(layer.name(), layer.id()) + '\n\n'
Expand Down

0 comments on commit 49ec2c9

Please sign in to comment.