diff -r d70b05f43e73 -r 434aed8dc58d Beremiz.py --- a/Beremiz.py Mon Feb 18 18:34:24 2008 +0100 +++ b/Beremiz.py Thu Feb 21 11:42:33 2008 +0100 @@ -788,7 +788,7 @@ def GetButtonCallBackFunction(self, plugin, method): def OnButtonClick(event): - method(plugin, self.Log) + getattr(plugin,method)(self.Log) self.RefreshVariableLists() event.Skip() return OnButtonClick