mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:41:31 +00:00
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:
parent
93a86be317
commit
94c17965b4
2 changed files with 11 additions and 3 deletions
|
@ -276,8 +276,11 @@
|
|||
|
||||
- (void) setDisplayedWhenStopped: (BOOL)flag
|
||||
{
|
||||
_isDisplayedWhenStopped = _isDisplayedWhenStopped;
|
||||
[self setNeedsDisplay: YES];
|
||||
if (flag != _isDisplayedWhenStopped)
|
||||
{
|
||||
_isDisplayedWhenStopped = flag;
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSProgressIndicatorStyle) style
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue