Fixed pattern textctrl in FindInPouDialog to get focus when dialog appear
authorLaurent Bessard
Tue, 23 Apr 2013 23:02:35 +0200
changeset 1056 f7aaf31d000f
parent 1055 da483f620668
child 1057 3837e165b3f9
Fixed pattern textctrl in FindInPouDialog to get focus when dialog appear
dialogs/FindInPouDialog.py
--- a/dialogs/FindInPouDialog.py	Tue Apr 23 22:45:59 2013 +0200
+++ b/dialogs/FindInPouDialog.py	Tue Apr 23 23:02:35 2013 +0200
@@ -109,7 +109,8 @@
         self.ParentWindow = parent
         
         self.Bind(wx.EVT_CLOSE, self.OnCloseFrame)
-    
+        
+        self.FindPattern.SetFocus()
         self.RefreshButtonsState()
     
     def RefreshButtonsState(self):