Open alexanderjarvis opened 8 years ago
This patch fixes a crash by checking nil values.
Thread : Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 6523146056 __exceptionPreprocess 1 libobjc.A.dylib 6870957952 objc_exception_throw 2 CoreFoundation 6522025928 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] 3 CoreFoundation 6522025568 +[NSDictionary dictionaryWithObjects:forKeys:count:] 4 KILabel 4314112932 -[KILabel attributesFromProperties] (KILabel.m:356) 5 KILabel 4314110664 -[KILabel setText:] (KILabel.m:224)
Thank you! But why the developers did not write it at once?
This patch fixes a crash by checking nil values.