equal
deleted
inserted
replaced
3889 location = "%M" + location |
3889 location = "%M" + location |
3890 self.ParentWindow.Table.SetValue(row, col, location) |
3890 self.ParentWindow.Table.SetValue(row, col, location) |
3891 self.ParentWindow.Table.ResetView(self.ParentWindow.VariablesGrid) |
3891 self.ParentWindow.Table.ResetView(self.ParentWindow.VariablesGrid) |
3892 self.ParentWindow.SaveValues() |
3892 self.ParentWindow.SaveValues() |
3893 dialog.Destroy() |
3893 dialog.Destroy() |
3894 if message is not None: |
3894 if message is not None: |
3895 wx.CallAfter(self.ShowMessage, message) |
3895 wx.CallAfter(self.ShowMessage, message) |
3896 |
3896 |
3897 def ShowMessage(self, message): |
3897 def ShowMessage(self, message): |
3898 message = wx.MessageDialog(self.ParentWindow, message, "Error", wx.OK|wx.ICON_ERROR) |
3898 message = wx.MessageDialog(self.ParentWindow, message, "Error", wx.OK|wx.ICON_ERROR) |
3899 message.ShowModal() |
3899 message.ShowModal() |
3900 message.Destroy() |
3900 message.Destroy() |