mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 10:32:26 +00:00
Added assertion
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
else if([uti isEqualToString:MPXMLDocumentUTI]) {
|
||||
self.selectedVersion = KPKXmlVersion;
|
||||
}
|
||||
NSAssert(uti != nil, @"UTI cannot be nil");
|
||||
[self _updateNote];
|
||||
[self.savePanel setAllowedFileTypes:@[uti]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user