From 4af061516c50776722cbdc1392b550086d9b9d13 Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Tue, 10 Jul 2012 21:53:51 -0700 Subject: [PATCH] CPTableColumn -setHidden documentation was backwards. --- AppKit/CPTableColumn.j | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTableColumn.j b/AppKit/CPTableColumn.j index 8faf64074..b0349993d 100644 --- a/AppKit/CPTableColumn.j +++ b/AppKit/CPTableColumn.j @@ -498,12 +498,13 @@ CPTableColumnUserResizingMask = 1 << 1; } /*! - If NO the tablecolumn will no longer be visible in the tableview - If YES the tablecolumn will be visible in the tableview. + If YES the tablecolumn will no longer be visible in the tableview. + If NO the tablecolumn will be visible in the tableview. */ - (void)setHidden:(BOOL)shouldBeHidden { shouldBeHidden = !!shouldBeHidden + if (_isHidden === shouldBeHidden) return;