mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:30:58 +00:00
Remove unnecessary check for _layoutEngine
This commit is contained in:
parent
2a1c0f88b3
commit
f6f1a7ef82
1 changed files with 1 additions and 1 deletions
|
@ -5227,7 +5227,7 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
|
|||
|
||||
- (GSAutoLayoutEngine*) _layoutEngine
|
||||
{
|
||||
if (!([self window] && [[self window] _layoutEngine]))
|
||||
if (![self window])
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue