diff -r 4eeb0129f5d2 -r 363af30a8b83 PLCOpenEditor.py --- a/PLCOpenEditor.py Fri May 22 13:51:51 2009 +0200 +++ b/PLCOpenEditor.py Fri May 22 14:44:03 2009 +0200 @@ -4364,7 +4364,7 @@ row, col = event.GetRow(), event.GetCol() colname = self.Table.GetColLabelValue(col) value = self.Table.GetValue(row, col) - if colname == "Name": + if colname == "Name" and value != "": if not TestIdentifier(value): message = wx.MessageDialog(self, "\"%s\" is not a valid identifier!"%value, "Error", wx.OK|wx.ICON_ERROR) message.ShowModal()