mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Add 'Close Empty Windows' option.'
This commit is contained in:
@@ -682,7 +682,7 @@ class Workspace extends Model
|
||||
@destroyActivePaneItem()
|
||||
else if @getPanes().length > 1
|
||||
@destroyActivePane()
|
||||
else
|
||||
else if @config.get('core.closeEmptyWindows')
|
||||
atom.close()
|
||||
|
||||
# Increase the editor font size by 1px.
|
||||
|
||||
Reference in New Issue
Block a user