mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:00:46 +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
2806eb908b
commit
9ebe5e5592
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>
|
Fri Dec 3 11:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
* Source/NSApplication.m: ([-updateWindowsItem:]) modified to show
|
* Source/NSApplication.m: ([-updateWindowsItem:]) modified to show
|
||||||
|
|
|
@ -371,6 +371,7 @@ selectCellWithString: (NSString *)title
|
||||||
[self _setDirectory: [sender pathToColumn: [_browser lastColumn]]
|
[self _setDirectory: [sender pathToColumn: [_browser lastColumn]]
|
||||||
updateBrowser: NO];
|
updateBrowser: NO];
|
||||||
|
|
||||||
|
ASSIGN (_fullFileName, [sender path]);
|
||||||
if (_canChooseDirectories)
|
if (_canChooseDirectories)
|
||||||
{
|
{
|
||||||
if ([[sender selectedCell] isLeaf])
|
if ([[sender selectedCell] isLeaf])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue