mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Fix showExternalProfile default settings. Fix #1554.
This commit is contained in:
parent
e2d9293e5a
commit
6e3c3dbe01
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user