Do not set window's title to unsaved for command view
This commit is contained in:
parent
bd2d8db231
commit
6c84913f6a
|
@ -91,8 +91,11 @@ end
|
||||||
|
|
||||||
|
|
||||||
function DocView:get_filename()
|
function DocView:get_filename()
|
||||||
local post = self.doc:is_dirty() and "*" or ""
|
if self.doc.abs_filename then
|
||||||
return (self.doc.abs_filename and self.doc.abs_filename or "unsaved") .. post
|
local post = self.doc:is_dirty() and "*" or ""
|
||||||
|
return self.doc.abs_filename .. post
|
||||||
|
end
|
||||||
|
return self:get_name()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue