mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Updated for NSSavePanel using a form now for the typing field.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5310 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
147add82bf
commit
e6f9348d02
1 changed files with 6 additions and 3 deletions
|
@ -357,19 +357,22 @@ selectCellWithString: (NSString *)title
|
|||
{
|
||||
if ([[sender selectedCell] isLeaf])
|
||||
{
|
||||
[_form setStringValue: title];
|
||||
[[_form cellAtIndex: 0] setStringValue: title];
|
||||
[_form display];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ([[sender selectedCell] isLeaf])
|
||||
{
|
||||
[_form setStringValue: title];
|
||||
[[_form cellAtIndex: 0] setStringValue: title];
|
||||
[_form display];
|
||||
[_okButton setEnabled: YES];
|
||||
}
|
||||
else
|
||||
{
|
||||
[_form setStringValue: nil];
|
||||
[[_form cellAtIndex: 0] setStringValue: nil];
|
||||
[_form display];
|
||||
[_okButton setEnabled: NO];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue