mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:51:02 +00:00
In [selectWithFrame:...length:] removed duplicate setting of delegate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15547 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
40352e1d1e
commit
87d2e3975b
1 changed files with 1 additions and 4 deletions
|
@ -1814,11 +1814,8 @@ static NSColor *shadowCol;
|
|||
[textObject setText: [(NSAttributedString *)_contents string]];
|
||||
}
|
||||
}
|
||||
[textObject sizeToFit];
|
||||
|
||||
[textObject setDelegate: anObject];
|
||||
[[controlView window] makeFirstResponder: textObject];
|
||||
|
||||
[textObject sizeToFit];
|
||||
[textObject setSelectedRange: NSMakeRange (selStart, selLength)];
|
||||
[textObject setDelegate: anObject];
|
||||
[[controlView window] makeFirstResponder: textObject];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue