Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Fix #732: Tree-view API is not being called on startup #756

Merged
merged 1 commit into from
Apr 24, 2016
Merged

Fix #732: Tree-view API is not being called on startup #756

merged 1 commit into from
Apr 24, 2016

Conversation

azawawi
Copy link
Contributor

@azawawi azawawi commented Mar 5, 2016

This is fixes #732: Tree-view API is not being called on startup courtesy of ssorallen++.

@azawawi azawawi changed the title Fix #732 courtesy of ssorallen++ Fix #732: Tree-view API is not being called on startup Mar 5, 2016
@@ -34,6 +34,7 @@ module.exports =
consumeFileIcons: (service) ->
FileIcons.setService(service)
@fileIconsDisposable = service.onWillDeactivate -> FileIcons.resetService()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we call @treeView?.updateRoots() from within the service.onWillDeactivate callback as well?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree-view API is not being called on startup
4 participants