Update stylesheetsActivated when resources are deactivated

This commit is contained in:
Kevin Sawicki
2013-10-03 09:38:25 -07:00
parent ea2779b029
commit 6a5151ccbb

View File

@@ -171,6 +171,7 @@ class AtomPackage extends Package
syntax.removeProperties(scopedPropertiesPath) for [scopedPropertiesPath] in @scopedProperties
keymap.remove(keymapPath) for [keymapPath] in @keymaps
atom.themes.removeStylesheet(stylesheetPath) for [stylesheetPath] in @stylesheets
@stylesheetsActivated = false
reloadStylesheets: ->
oldSheets = _.clone(@stylesheets)