mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 18:11:06 +00:00
Fix for selecting single file in open panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a0bad93a22
commit
99e27a7bb2
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Dec 3 14:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSOpenPanel.m ([-browser:selectCellWithString:inColumn:])
|
||||
fixed to set the _fullFileName ivar so that the panel can return
|
||||
the selected filename.
|
||||
|
||||
Fri Dec 3 11:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSApplication.m: ([-updateWindowsItem:]) modified to show
|
||||
|
|
|
@ -371,6 +371,7 @@ selectCellWithString: (NSString *)title
|
|||
[self _setDirectory: [sender pathToColumn: [_browser lastColumn]]
|
||||
updateBrowser: NO];
|
||||
|
||||
ASSIGN (_fullFileName, [sender path]);
|
||||
if (_canChooseDirectories)
|
||||
{
|
||||
if ([[sender selectedCell] isLeaf])
|
||||
|
|
Loading…
Reference in a new issue