[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSTableView setAction: raises an exception
From: |
Stefan Urbanek |
Subject: |
NSTableView setAction: raises an exception |
Date: |
Mon, 20 May 2002 23:38:01 +0200 |
Hi,
This:
NSTableView *probesTable; /* table from .gorm file */
...
[probesTable setAction:@selector(tableClicked:)]
will raise this exception:
Uncaught exception NSInternalInconsistencyException, reason: attempt
to set an action in an NSCell
But double-action works:
[probesTable setDoubleAction:@selector(tableDoubleClicked:)]
I need to handle both, single and double click.
What can be wrong?
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSTableView setAction: raises an exception,
Stefan Urbanek <=