# HG changeset patch # User lbessard # Date 1237302004 -3600 # Node ID bf5a968bb7e03f99cb71d70512f5f2bfff737d0c # Parent 5b37e16f7b2ae41cdb94cc38b604ede9bbabb98d Bug with drop located variable in empty grid fixed diff -r 5b37e16f7b2a -r bf5a968bb7e0 PLCOpenEditor.py --- a/PLCOpenEditor.py Tue Mar 17 15:58:50 2009 +0100 +++ b/PLCOpenEditor.py Tue Mar 17 16:00:04 2009 +0100 @@ -3891,8 +3891,8 @@ self.ParentWindow.Table.ResetView(self.ParentWindow.VariablesGrid) self.ParentWindow.SaveValues() dialog.Destroy() - if message is not None: - wx.CallAfter(self.ShowMessage, message) + if message is not None: + wx.CallAfter(self.ShowMessage, message) def ShowMessage(self, message): message = wx.MessageDialog(self.ParentWindow, message, "Error", wx.OK|wx.ICON_ERROR)