Fix loop for column picker's drop-down menu (#2758)

This fixes an oversight in the loop going over column enumeration for column selection.

Resolves #2759

Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2758
Co-authored-by: yup <yup@no-reply.palemoon.org>
Co-committed-by: yup <yup@no-reply.palemoon.org>
This commit is contained in:
yup
2025-05-31 07:54:18 +00:00
committed by roytam1
parent 7d099a8080
commit 72a17a5284
+1 -1
View File
@@ -1498,7 +1498,7 @@
var tree = this.parentNode.parentNode;
if (tree.columns)
for (var currCol = tree.columns.getFirstColumn(); currCol = currCol.getNext(); ) {
for (var currCol = tree.columns.getFirstColumn(); currCol; currCol = currCol.getNext()) {
// Construct an entry for each column in the row, unless
// it is not being shown.
var currElement = currCol.element;