# HG changeset patch # User nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1276890352 0 # Node ID c62fe35ae67c048691f17400a0ca2d931f63b3fc # Parent 1d60e022311720e351a5c091b2523e44e4b4e9ac fife_settings: Make sure onApply is only called if the entry changed diff -r 1d60e0223117 -r c62fe35ae67c engine/python/fife/extensions/fife_settings.py --- a/engine/python/fife/extensions/fife_settings.py Fri Jun 18 08:51:05 2010 +0000 +++ b/engine/python/fife/extensions/fife_settings.py Fri Jun 18 19:45:52 2010 +0000 @@ -478,10 +478,8 @@ # only require restart if something really changed if entry.requiresrestart and data != self.get(entry.module, entry.name): self.changesRequireRestart = True - - self.set(entry.module, entry.name, data) - - entry.onApply(data) + self.set(entry.module, entry.name, data) + entry.onApply(data) self.saveSettings()