Bugfixes
This commit is contained in:
parent
f108624989
commit
916dba380f
@ -84,7 +84,7 @@ end
|
||||
local function get_disable_confirm_buttonhandler(this, fields)
|
||||
if fields.pwd_confirm_disable then
|
||||
-- Don't load pwmgr later
|
||||
core.settings:set_bool("pwmgr.enable", false)
|
||||
core.settings:set_bool("enable_pwmgr", false)
|
||||
core.settings:write()
|
||||
|
||||
-- Delete the "pwmgr" global variable
|
||||
|
@ -331,7 +331,8 @@ local function main_button_handler(tabview, fields, name, tabdata)
|
||||
core.settings:set("address", fields.te_address)
|
||||
core.settings:set("remote_port", fields.te_port)
|
||||
|
||||
if core.settings:get_bool("enable_pwmgr") then
|
||||
local enable_pwmgr = core.settings:get_bool("enable_pwmgr")
|
||||
if enable_pwmgr or enable_pwmgr == nil then
|
||||
if not rawget(_G, "pwmgr") then
|
||||
dofile(core.get_mainmenu_path() .. DIR_DELIM .. "pwmgr.lua")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user