On Mar 4, 2008, at 8:28 AM, Stephane Sudre wrote:
On 4 mars 08, at 17:14, Corbin Dunn wrote:
On Mar 4, 2008, at 6:49 AM, Stéphane wrote:
On Mar 4, 2008, at 3:35 PM, Nick Rogers wrote:
Hi,
I have two NSTableView in my app (tableView1 and tableView2).
If I select a row in tableView1 and th
On 4 mars 08, at 17:14, Corbin Dunn wrote:
On Mar 4, 2008, at 6:49 AM, Stéphane wrote:
On Mar 4, 2008, at 3:35 PM, Nick Rogers wrote:
Hi,
I have two NSTableView in my app (tableView1 and tableView2).
If I select a row in tableView1 and then if I select a row in
tableView2, I want the row
On Mar 4, 2008, at 8:09 AM, Andy Lee wrote:
Try changing the -isEqual: calls to == instead, e.g.:
if ([notification object] == tableView1)
I suspect -isEqual: is always returning YES.
No, this is not the problem. Using == is okay (and faster), since
NSView's are always unique.
-c
On Mar 4, 2008, at 6:49 AM, Stéphane wrote:
On Mar 4, 2008, at 3:35 PM, Nick Rogers wrote:
Hi,
I have two NSTableView in my app (tableView1 and tableView2).
If I select a row in tableView1 and then if I select a row in
tableView2, I want the row in tableView1 to be deselected.
For this I'm
Try changing the -isEqual: calls to == instead, e.g.:
if ([notification object] == tableView1)
I suspect -isEqual: is always returning YES.
--Andy
On Mar 4, 2008, at 9:35 AM, Nick Rogers wrote:
Hi,
I have two NSTableView in my app (tableView1 and tableView2).
If I select a row in ta
On Mar 4, 2008, at 3:35 PM, Nick Rogers wrote:
Hi,
I have two NSTableView in my app (tableView1 and tableView2).
If I select a row in tableView1 and then if I select a row in
tableView2, I want the row in tableView1 to be deselected.
For this I'm using [tableView1 deselectAll: nil], but it le