mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:30:39 +00:00
* Source/NSTableColumn.m (-initWithCoder:): Make columns
non-editable by default. * Source/NSTableView.m (-editColumn:...select:): Make editing here independ of the datasource. * Source/NSTableView.m: Split -_isCellEditableColumn:row: in two methods and ignore the cell isEditable state in -mouseDown:. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36307 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c2d01aeca2
commit
14584bb4e2
3 changed files with 37 additions and 21 deletions
|
@ -535,6 +535,10 @@ to YES. */
|
|||
{
|
||||
[self setEditable: [aDecoder decodeBoolForKey: @"NSIsEditable"]];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self setEditable: NO];
|
||||
}
|
||||
if ([aDecoder containsValueForKey: @"NSWidth"])
|
||||
{
|
||||
[self setWidth: [aDecoder decodeFloatForKey: @"NSWidth"]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue