Skip to content

Commit

Permalink
Variant.fromDynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed May 16, 2024
1 parent d4f0223 commit 88c96f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/containers/TreeViewNode.hx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class TreeViewNode extends VBox {
}

private override function get_icon():Variant {
return _data.icon;
return Variant.fromDynamic(_data.icon);
}
private override function set_icon(value:Variant):Variant {
if (_data == null) {
Expand Down

0 comments on commit 88c96f3

Please sign in to comment.