Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Feb 10, 2016
2 parents ac01655 + 3e33bf1 commit 4ef8646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/lib/xmlfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,10 +683,10 @@ def buildElement( self, item, groupName, visibilityCondition, profileVisibility,
if icon is None:
xmltree.SubElement( newelement, "icon" ).text = "DefaultShortcut.png"
else:
xmltree.SubElement( newelement, "icon" ).text = icon.text
xmltree.SubElement( newelement, "icon" ).text = try_decode( icon.text )
thumb = item.find( "thumb" )
if thumb is not None:
xmltree.SubElement( newelement, "thumb" ).text = item.find( "thumb" ).text
xmltree.SubElement( newelement, "thumb" ).text = try_decode( item.find( "thumb" ).text )

# labelID and defaultID
labelID = xmltree.SubElement( newelement, "property" )
Expand Down

0 comments on commit 4ef8646

Please sign in to comment.