mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
Create a MenuBar object (instead of treating it like a singleton.)
This commit is contained in:
committed by
Corey Johnson & Nathan Sobo
parent
6e3517dd4a
commit
e057d35048
@@ -55,7 +55,7 @@ window.startEditorWindow = ->
|
||||
atom.activatePackages()
|
||||
keymap.loadUserKeymaps()
|
||||
atom.requireUserInitScript()
|
||||
MenuBar.show(keymap.toObject())
|
||||
new MenuBar(keymap.toObject())
|
||||
$(window).on 'unload', -> unloadEditorWindow(); false
|
||||
atom.show()
|
||||
atom.focus()
|
||||
|
||||
Reference in New Issue
Block a user