From 3e923e0a23e80695620bc48a0e8aa81b43ca6e18 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 15 May 2010 18:46:58 +0000 Subject: [PATCH] applications/luci-qos: fix disabling --- applications/luci-qos/luasrc/model/cbi/qos/qos.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua index 026099e29..af481fd3a 100644 --- a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua +++ b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua @@ -24,7 +24,8 @@ s = m:section(TypedSection, "interface", translate("Interfaces")) s.addremove = true s.anonymous = false -s:option(Flag, "enabled", translate("Enable")) +e = s:option(Flag, "enabled", translate("Enable")) +e.rmempty = false c = s:option(ListValue, "classgroup", translate("Classification group")) c:value("Default", translate("default")) -- 2.25.1