Skip to content

Commit bbad63c

Browse files
committed
Merge pull request livecode#2525 from livecodeali/bugfix-header_save
[[ Header Bar ]] Don't try to save value of type Color
2 parents 55bee42 + fb583ad commit bbad63c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/widgets/header/header.lcb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public handler OnSave(out rProperties as Array)
300300
put mActionStyle into rProperties["actionStyle"]
301301
put mShowBackIcon into rProperties["showBackIcon"]
302302
put mLeftLabel into rProperties["leftLabel"]
303-
put mActionColor into rProperties["actionColor"]
303+
put getActionColor() into rProperties["actionColor"]
304304
put mShowSearchIcon into rProperties["showSearchIcon"]
305305

306306
return rProperties
@@ -313,7 +313,7 @@ public handler OnLoad(in pProperties as Array)
313313
put pProperties["actionStyle"] into mActionStyle
314314
put pProperties["showBackIcon"] into mShowBackIcon
315315
put pProperties["leftLabel"] into mLeftLabel
316-
put pProperties["actionColor"] into mActionColor
316+
setActionColor(pProperties["actionColor"])
317317
put pProperties["showSearchIcon"] into mShowSearchIcon
318318
end handler
319319

0 commit comments

Comments
 (0)