mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:40:47 +00:00
Nib improvments and a document bugfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23059 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b18bd6d597
commit
d8e899061b
4 changed files with 86 additions and 27 deletions
|
@ -523,7 +523,14 @@
|
|||
{
|
||||
NSString *title = [[NSDocumentController sharedDocumentController]
|
||||
displayNameForType: [self fileType]];
|
||||
[spaButton selectItemWithTitle: title];
|
||||
if([spaButton itemWithTitle: title] != nil)
|
||||
{
|
||||
[spaButton selectItemWithTitle: title];
|
||||
}
|
||||
else
|
||||
{
|
||||
[spaButton selectItemAtIndex: 0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue