mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Assign project when deserializing TextEditors
This commit is contained in:
@@ -78,6 +78,7 @@ class TextEditor extends Model
|
||||
state.notificationManager = atomEnvironment.notifications
|
||||
state.clipboard = atomEnvironment.clipboard
|
||||
state.viewRegistry = atomEnvironment.views
|
||||
state.project = atomEnvironment.project
|
||||
new this(state)
|
||||
|
||||
constructor: (params={}) ->
|
||||
|
||||
Reference in New Issue
Block a user