Commit efe2b1ad authored by Jérome Decoodt's avatar Jérome Decoodt

Do not use setTitleWithRepresentedFilename if input is not a file.

parent 49acb531
......@@ -444,9 +444,9 @@
if( prefix_range.location != NSNotFound )
{
[o_title deleteCharactersInRange: prefix_range];
[self setTitleWithRepresentedFilename: o_title];
}
[self setTitleWithRepresentedFilename: o_title];
[self setTitle: o_title];
}
else
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment