Skip to content

Commit

Permalink
Merge branch 'dev' into add_macrogroup_id
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti authored Mar 1, 2024
2 parents 86390d7 + 0b50140 commit acf6942
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions g3w-admin/qplotly/vendor/DataPlotly/core/plot_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ def read_xml(self, element: QDomElement) -> bool:
self.source_layer_id = res.get('source_layer_id', None)
self.data_defined_properties.loadVariant(res.get('dynamic_properties', None), PlotSettings.DYNAMIC_PROPERTIES)

# With QGIS > 3.28 the QgsXmlutils.readVariant method has a new behavior for Qstring type parameters
if self.layout['title'] == None:
self.layout['title'] = ''

return True

def write_to_project(self, document: QDomDocument):
Expand Down

0 comments on commit acf6942

Please sign in to comment.