beremiz

0ead830daf26
Parents 233681f2a00e
Children d9c28879e55b
Fixed bug when pressing Return key in FindInPouDialog
--- a/dialogs/FindInPouDialog.py Wed May 08 22:52:55 2013 +0200
+++ b/dialogs/FindInPouDialog.py Wed May 08 22:53:40 2013 +0200
@@ -97,6 +97,7 @@
flag=wx.LEFT|wx.RIGHT|wx.BOTTOM|wx.ALIGN_RIGHT)
self.FindButton = wx.Button(panel, label=_("Find"))
+ self.FindButton.SetDefault()
self.Bind(wx.EVT_BUTTON, self.OnFindButton, self.FindButton)
buttons_sizer.AddWindow(self.FindButton, border=5, flag=wx.RIGHT)