mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
oops, don't deactivate all the packages!
This commit is contained in:
@@ -42,7 +42,7 @@ class ThemeManager
|
||||
activateThemes: ->
|
||||
# atom.config.observe runs the callback once, then on subsequent changes.
|
||||
atom.config.observe 'core.themes', (themeNames) =>
|
||||
@packageManager.deactivatePackages()
|
||||
@deactivateThemes()
|
||||
themeNames = [themeNames] unless _.isArray(themeNames)
|
||||
|
||||
# Reverse so the first (top) theme is loaded after the others. We want
|
||||
|
||||
Reference in New Issue
Block a user