--- a/IDEFrame.py Tue Jun 20 17:01:19 2017 +0300
+++ b/IDEFrame.py Tue Jun 20 18:57:29 2017 +0300
@@ -641,8 +641,6 @@
- self.FindDialog = FindInPouDialog(self)
## Constructor of the PLCOpenEditor class.
# @param parent The parent window.
@@ -731,9 +729,15 @@
self.SetRefreshFunctions()
self.SetDeleteFunctions()
+ wx.CallAfter(self.InitFindDialog) self.FindDialog.Destroy()
+ def InitFindDialog(self): + self.FindDialog = FindInPouDialog(self) wx.CallAfter(self.RestoreLastState)