mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Correctly initialize AtomWindow
This commit is contained in:
parent
b4f73f254d
commit
f66e4c21d8
@ -669,7 +669,7 @@ class AtomApplication
|
||||
@lastFocusedWindow.sendUrlMessage url
|
||||
else
|
||||
windowDimensions = @getDimensionsForNewWindow()
|
||||
@lastFocusedWindow = new AtomWindow({resourcePath, windowInitializationScript, devMode, safeMode, windowDimensions, env})
|
||||
@lastFocusedWindow = new AtomWindow(this, @fileRecoveryService, {resourcePath, windowInitializationScript, devMode, safeMode, windowDimensions, env})
|
||||
@lastFocusedWindow.on 'window:loaded', =>
|
||||
@lastFocusedWindow.sendUrlMessage url
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user