Fix bug when opening PouActionDialog while trying to add action to a POU in SFC
--- a/dialogs/PouActionDialog.py Mon Aug 27 17:51:55 2012 +0200
+++ b/dialogs/PouActionDialog.py Mon Aug 27 23:06:29 2012 +0200
@@ -63,7 +63,7 @@
button_sizer = self.CreateButtonSizer(wx.OK|wx.CANCEL|wx.CENTRE)
self.Bind(wx.EVT_BUTTON, self.OnOK,
button_sizer.GetAffirmativeButton())
- main_sizer.AddSizer(self.ButtonSizer, border=20,
+ main_sizer.AddSizer(button_sizer, border=20,
flag=wx.ALIGN_RIGHT|wx.BOTTOM|wx.LEFT|wx.RIGHT)
self.SetSizer(main_sizer)