Skip to content

Commit

Permalink
Merge pull request #659 from AdrianV/fix-removeColumn
Browse files Browse the repository at this point in the history
TableView removeColumn using id
  • Loading branch information
ianharrigan authored Dec 18, 2024
2 parents 7ede5fa + 2305759 commit 8db8b05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions haxe/ui/containers/TableView.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1002,10 +1002,11 @@ private class RemoveColumn extends Behaviour {
return null;
}
for (c in header.findComponents(Column)) {
if (c.id == null) {
final id = c.id;
if (id == null) {
continue;
}
if (c.text == param) {
if (id == param) {
header.removeComponent(c);
break;
}
Expand Down

0 comments on commit 8db8b05

Please sign in to comment.