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