changeset 6075:dace65c4c5d7

RT-35266: TableView Column Table header sort dots not consistent when hiding and showing columns
author jgiles
date Mon, 13 Jan 2014 14:11:27 +1300
parents e35db0874061
children 2f9b188da440
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java	Mon Jan 13 13:56:03 2014 +1300
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java	Mon Jan 13 14:11:27 2014 +1300
@@ -776,7 +776,7 @@
         int pos = 0;
         for (int i = 0; i < sortOrder.size(); i++) {
             TableColumnBase _tc = sortOrder.get(i);
-            if (_tc == null || ! _tc.isSortable()) {
+            if (_tc == null || ! _tc.isSortable() || ! _tc.isVisible()) {
                 continue;
             }