Fix incorrect assignment in NSProgressIndicator -setDisplayedWhenStopped:

which made that method a no-op.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29266 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-01-11 21:15:54 +00:00
parent 93a86be317
commit 94c17965b4
2 changed files with 11 additions and 3 deletions

View file

@ -276,8 +276,11 @@
- (void) setDisplayedWhenStopped: (BOOL)flag
{
_isDisplayedWhenStopped = _isDisplayedWhenStopped;
[self setNeedsDisplay: YES];
if (flag != _isDisplayedWhenStopped)
{
_isDisplayedWhenStopped = flag;
[self setNeedsDisplay: YES];
}
}
- (NSProgressIndicatorStyle) style