# HG changeset patch
# User Laurent Bessard
# Date 1366750955 -7200
# Node ID f7aaf31d000f419474211d347709b3853c7df63f
# Parent  da483f6206689021d11553f6833a80fdd6c400ab
Fixed pattern textctrl in FindInPouDialog to get focus when dialog appear

diff -r da483f620668 -r f7aaf31d000f 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):