Skip to content

Commit e60760e

Browse files
committed
Merge branch 'master' of https://github.com/haxeui/haxeui-core
2 parents f703a13 + 8db8b05 commit e60760e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

haxe/ui/containers/TableView.hx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,10 +1002,11 @@ private class RemoveColumn extends Behaviour {
10021002
return null;
10031003
}
10041004
for (c in header.findComponents(Column)) {
1005-
if (c.id == null) {
1005+
final id = c.id;
1006+
if (id == null) {
10061007
continue;
10071008
}
1008-
if (c.text == param) {
1009+
if (id == param) {
10091010
header.removeComponent(c);
10101011
break;
10111012
}

0 commit comments

Comments
 (0)