# HG changeset patch # User Sylvain Thénault # Date 1264498072 -3600 # Node ID b50dd952cb8db2caf5ce5f0102f5fd438821c04c # Parent 30f745305997e28e6418e47029579c6762923365 [uicfg] fix reloading pb with the indexview_etype_section diff -r 30f745305997 -r b50dd952cb8d web/uicfg.py --- a/web/uicfg.py Tue Jan 26 10:26:51 2010 +0100 +++ b/web/uicfg.py Tue Jan 26 10:27:52 2010 +0100 @@ -191,8 +191,10 @@ def __init__(self, *args, **kwargs): super(InitializableDict, self).__init__(*args, **kwargs) register_rtag(self) + self.__defaults = dict(self) def init(self, schema, check=True): + self.update(self.__defaults) for eschema in schema.entities(): if eschema.final: continue