Skip to content

Commit

Permalink
fix list of expanded / checked symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Dec 7, 2022
1 parent 9d19830 commit 7434e93
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions toppingmaker/projecttopping.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,13 @@ def make_items(
maptheme_item[layername]["visible"] = layerrecord.isVisible
maptheme_item[layername]["expanded"] = layerrecord.expandedLayerNode
if layerrecord.expandedLegendItems:
maptheme_item[layername][
"expanded_items"
] = layerrecord.expandedLegendItems
maptheme_item[layername]["expanded_items"] = list(
layerrecord.expandedLegendItems
)
if layerrecord.usingLegendItems:
maptheme_item[layername][
"checked_items"
] = layerrecord.checkedLegendItems
maptheme_item[layername]["checked_items"] = list(
layerrecord.checkedLegendItems
)

if maptheme_record.hasExpandedStateInfo():
for expanded_groupnode in maptheme_record.expandedGroupNodes():
Expand Down

0 comments on commit 7434e93

Please sign in to comment.