# HG changeset patch # User lbessard # Date 1191339925 -7200 # Node ID b83d063c4dc437403868d16b7ba56f7c00ff87c4 # Parent 506f9700b9fb6145e6783971a692ad3af6c104db Bug on new file and open file with wxPython 2.8.4.2 on GTK fixed diff -r 506f9700b9fb -r b83d063c4dc4 objdictgen/objdictedit.py --- a/objdictgen/objdictedit.py Tue Oct 02 14:06:30 2007 +0200 +++ b/objdictgen/objdictedit.py Tue Oct 02 17:45:25 2007 +0200 @@ -362,7 +362,7 @@ window = self.FileOpened.GetPage(selected) if window: self.Manager.ChangeCurrentNode(window.GetIndex()) - self.RefreshBufferState() + wx.CallAfter(self.RefreshBufferState) self.RefreshStatusBar() self.RefreshProfileMenu() event.Skip()