mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
* Source/NSComboBoxCell.m (-textDidChange:):
Handle nil string from delegate completed string processing Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35677 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c0d5b3dff
commit
4f5c219ed9
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-10-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSComboBoxCell.m (-textDidChange:):
|
||||
Handle nil string from delegate completed string processing
|
||||
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>
|
||||
|
||||
2012-10-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSToolTips.m: Use separate view to draw tooltip text.
|
||||
|
|
|
@ -1253,7 +1253,7 @@ static GSComboWindow *gsWindow = nil;
|
|||
|
||||
if (_usesDataSource)
|
||||
{
|
||||
if (_dataSource == NO)
|
||||
if (_dataSource == nil)
|
||||
{
|
||||
NSLog(@"%@: No data source currently specified", self);
|
||||
}
|
||||
|
@ -1749,7 +1749,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
|
|||
&& _prevSelectedRange.location < selectedRange.location)
|
||||
{
|
||||
more = [self completedString: myString];
|
||||
if ([more isEqualToString: myString] == NO)
|
||||
if ((more != nil) && [more isEqualToString: myString] == NO)
|
||||
{
|
||||
[textObject setString: more];
|
||||
location = myStringLength;
|
||||
|
|
Loading…
Reference in a new issue