mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
Init _selected_item in initWithCode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35521 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bed52af8c3
commit
0c5c7ed17e
1 changed files with 2 additions and 0 deletions
|
@ -558,6 +558,8 @@
|
|||
{
|
||||
self = [super initWithCoder: aDecoder];
|
||||
|
||||
_selected_item = NSNotFound;
|
||||
|
||||
if ([aDecoder allowsKeyedCoding])
|
||||
{
|
||||
if ([aDecoder containsValueForKey: @"NSAllowTruncatedLabels"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue