mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
fixed mixed up "_item" with "_selection"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25141 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a187fb6a58
commit
a94bd64e42
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static SEL valueInComponentSEL = NULL;
|
|||
if (((_list == nil)) ||
|
||||
((_value != nil) && ((_item == nil) && ([_item isValueSettable] == NO))) ||
|
||||
(((_string != nil) || (_item != nil)) && (_item == nil)) ||
|
||||
((_selection != nil) && ([_item isValueSettable] == NO))) {
|
||||
((_selection != nil) && ([_selection isValueSettable] == NO))) {
|
||||
|
||||
[NSException raise:NSInvalidArgumentException
|
||||
format:@"%s: 'list' must be present. 'item' must not be a constant if 'value' is present. Cannot have 'displayString' or 'value' without 'item'. 'selection' must not be a constant if present.",
|
||||
|
|
Loading…
Reference in a new issue