Fixed bug where title is not displayed as filename for filetypes that do not have metadata readers.
This commit is contained in:
parent
bebac03a97
commit
ee265d835e
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@
|
||||||
{
|
{
|
||||||
NSString *ti = [m objectForKey:@"title"];
|
NSString *ti = [m objectForKey:@"title"];
|
||||||
|
|
||||||
if ([ti isEqualToString:@""]) {
|
if (ti == nil || [ti isEqualToString:@""]) {
|
||||||
[self setTitle:[[url path] lastPathComponent]];
|
[self setTitle:[[url path] lastPathComponent]];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue