mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
Check getLoadSettings to decide to open initial buffer
This commit is contained in:
@@ -632,7 +632,7 @@ class Atom extends Model
|
||||
@windowEventHandler?.unsubscribe()
|
||||
|
||||
openInitialEmptyEditorIfNecessary: ->
|
||||
if @project.getPaths().length is 0 and @workspace.getPaneItems().length is 0
|
||||
if @getLoadSettings().initialPaths?.length is 0 and @workspace.getPaneItems().length is 0
|
||||
@workspace.open(null, {isInitialEmptyEditor: true})
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user