diff --git a/src/app/root-view.coffee b/src/app/root-view.coffee index 2d3b8fa83..659b331c9 100644 --- a/src/app/root-view.coffee +++ b/src/app/root-view.coffee @@ -115,7 +115,7 @@ class RootView extends View updateTitle: -> if projectPath = project.getPath() if item = @getActivePaneItem() - @setTitle("#{item.getTitle()} - #{projectPath}") + @setTitle("#{item.getTitle?() ? 'untitled'} - #{projectPath}") else @setTitle(projectPath) else