using property

This commit is contained in:
michael starke
2017-11-14 12:24:05 +01:00
parent ddf78891ae
commit f0507ee761

View File

@@ -466,7 +466,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
Add all needed constraints an then remove it again, if it was hidden
*/
BOOL removeInspector = NO;
if(![inspectorView superview]) {
if(!inspectorView.superview) {
[self.splitView addSubview:inspectorView];
removeInspector = YES;
}