diff --git a/AppKit/CPTableColumn.j b/AppKit/CPTableColumn.j index 6a1765cad..335da30eb 100644 --- a/AppKit/CPTableColumn.j +++ b/AppKit/CPTableColumn.j @@ -582,7 +582,7 @@ CPTableColumnUserResizingMask = 1 << 1; return nil; var keyPath = [_info objectForKey:CPObservedKeyPathKey], - dotIndex = keyPath.lastIndexOf("."); + dotIndex = keyPath.indexOf("."); if (dotIndex === CPNotFound) return nil;