> The default values are set at model creation. I agree that those should be > used as well when no data is available when loading settings. I propose to > modify AutomatableModel::loadSettings() so that before > line 172 it checks whether the requested attribute exists at all and if not, > it calls reset() (which reverts back to default value). Do you want to do > that or shall I do it later today?
I think I get the problem. It would be nice if you could do it, it's probably easier for you. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ LMMS-devel mailing list LMMS-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lmms-devel