Fix default editable state for NSTableColumns and XIB5 loading

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40380 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2017-03-10 18:32:58 +00:00
parent aa16105334
commit 83cb3aa173

View file

@ -555,7 +555,10 @@ to YES. */
}
else
{
[self setEditable: NO];
if ([[aDecoder class] coderVersion] > 0)
[self setEditable: YES]; // Default for XIB5...
else
[self setEditable: NO]; // Default for older XIBs...
}
if ([aDecoder containsValueForKey: @"NSWidth"])
{