* Source/GSTextFinder.m: Fix Ignore Case option to work.

Patch by Doug Simons <doug.simons@testplant.com>
        * Source/NSControl.m (-initWithCoder:): Don't use NSEnabled flag
        as it is wrong for NSComboBox.
        * Source/NSComboBoxCell.m (_loadButtonCell): Set enabled on
        button cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38933 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2015-08-26 21:10:12 +00:00
parent 1f3a02d1e7
commit 6c79a91744
4 changed files with 14 additions and 1 deletions

View file

@ -1026,7 +1026,9 @@ static NSNotificationCenter *nc;
}
if ([aDecoder containsValueForKey: @"NSEnabled"])
{
[self setEnabled: [aDecoder decodeBoolForKey: @"NSEnabled"]];
// Don't use this information as it also comes from the cell
// and NSComboBox has always YES here, even when disabled
//[self setEnabled: [aDecoder decodeBoolForKey: @"NSEnabled"]];
}
if ([aDecoder containsValueForKey: @"NSTag"])
{