Wifi devices should not be deletable (UVL override)
This commit is contained in:
parent
b74e8cfb22
commit
9fb0f37769
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ arg[1] = arg[1] or ""
|
|||
m = Map("wireless", translate("networks"), translate("a_w_networks1"))
|
||||
|
||||
s = m:section(NamedSection, arg[1], "wifi-device", translate("device") .. " " .. arg[1])
|
||||
--s.addremove = true
|
||||
s.addremove = false
|
||||
|
||||
back = s:option(DummyValue, "_overview", translate("overview"))
|
||||
back.value = ""
|
||||
|
|
|
@ -127,6 +127,7 @@ end
|
|||
-- Config Section --
|
||||
|
||||
s = m:section(NamedSection, wifidevs[1], "wifi-device", translate("devices"))
|
||||
s.addremove = false
|
||||
|
||||
en = s:option(Flag, "disabled", translate("enable"))
|
||||
en.enabled = "0"
|
||||
|
|
Loading…
Reference in a new issue