From 495714426232f7560d3b1e2f9dc99eb06ecd8781 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 17 Jan 2009 13:06:18 +0000 Subject: [PATCH] Autoapplying on creation / deletion of sections is annoying, disable it. --- libs/cbi/luasrc/cbi.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index d19e0eb73e..d24fa6ad03 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -769,6 +769,7 @@ end -- Removes the section function AbstractSection.remove(self, section) + self.map.autoapply = false return self.map:del(section) end @@ -795,6 +796,8 @@ function AbstractSection.create(self, section) end end + self.map.autoapply = false + return stat end -- 2.30.2