Skip to content

Commit

Permalink
Fix showExternalProfile default settings. Fix #1554.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Aug 27, 2018
1 parent e2d9293 commit 6e3c3db
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions omega-target/src/options.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,12 @@ class Options
if refresh?
@_state.set({'refreshOnProfileChange': refresh})

showExternal = changes['-showExternalProfile']
if not showExternal?
showExternal = true
@_setOptions({'-showExternalProfile': true}, {persist: true})
@_state.set({'showExternalProfile': showExternal})
if Object::hasOwnProperty.call changes, '-showExternalProfile'
showExternal = changes['-showExternalProfile']
if not showExternal?
showExternal = true
@_setOptions({'-showExternalProfile': true}, {persist: true})
@_state.set({'showExternalProfile': showExternal})

quickSwitchProfiles = changes['-quickSwitchProfiles']
quickSwitchProfiles = @_cleanUpQuickSwitchProfiles(quickSwitchProfiles)
Expand Down

0 comments on commit 6e3c3db

Please sign in to comment.