mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Return the value from restoreDefault
This commit is contained in:
@@ -400,6 +400,7 @@ class Config
|
||||
# Returns the new value.
|
||||
restoreDefault: (keyPath) ->
|
||||
@set(keyPath, _.valueForKeyPath(@defaultSettings, keyPath))
|
||||
@get(keyPath)
|
||||
|
||||
# Extended: Get the default value of the key path.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user