mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/NSBrowser.m (-setPath:): Fixed a bug where setting the
path to "/" would not deselect the cells. Based on patch by Frank Le Grand <frank.legrand@testplant.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37081 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c0c27b5f8c
commit
581d7fcd0c
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-09-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSBrowser.m (-setPath:): Fixed a bug where setting the
|
||||
path to "/" would not deselect the cells.
|
||||
Based on patch by Frank Le Grand <frank.legrand@testplant.com>
|
||||
|
||||
2013-09-13 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Source/NSBitmapImageRep+GIF.m (-_initBitmapFromGIF:): Prepare for
|
||||
|
@ -5,7 +11,7 @@
|
|||
|
||||
2013-08-30 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source\NSAttributedString.m (-fixFontAttributeInRange:): In the
|
||||
* Source/NSAttributedString.m (-fixFontAttributeInRange:): In the
|
||||
absence of a NSFontAttributeName attribute, use a default font to
|
||||
prevent the substitution from stopping. This fixes a bug where
|
||||
unicode characters would not get the proper font substitution.
|
||||
|
|
|
@ -593,17 +593,17 @@ static NSTextFieldCell *titleCell;
|
|||
* specified path is already partially selected. If this is the
|
||||
* case, we can avoid redrawing those columns.
|
||||
*/
|
||||
for (i = 0; i <= _lastColumnLoaded && i < numberOfSubStrings; i++)
|
||||
for (i = 0; i <= _lastColumnLoaded; i++)
|
||||
{
|
||||
NSString *c = [[self selectedCellInColumn: i] stringValue];
|
||||
|
||||
if ([c isEqualToString: [subStrings objectAtIndex: i]])
|
||||
if ((i < numberOfSubStrings) &&
|
||||
[[[self selectedCellInColumn: i] stringValue]
|
||||
isEqualToString: [subStrings objectAtIndex: i]])
|
||||
{
|
||||
column = i;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Actually it's always called at 0 column
|
||||
// Actually it's always called at 0 column, when string is "/"
|
||||
[[self matrixInColumn: i] deselectAllCells];
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue