Fixed bug in New variable name generated in CodeFileEditor Variable Panel
authorLaurent Bessard
Thu, 16 May 2013 00:37:27 +0200
changeset 1153 5bdd82497925
parent 1152 0a8fbd2a00f7
child 1154 da9ccfceff31
Fixed bug in New variable name generated in CodeFileEditor Variable Panel
CodeFileTreeNode.py
--- a/CodeFileTreeNode.py	Thu May 16 00:31:07 2013 +0200
+++ b/CodeFileTreeNode.py	Thu May 16 00:37:27 2013 +0200
@@ -93,7 +93,7 @@
     def GenerateNewName(self, format, start_idx):
         return self.GetCTRoot().GenerateNewName(
             None, None, format, start_idx,
-            dict([(var.getname(), None) 
+            dict([(var.getname().upper(), True) 
                   for var in self.CodeFile.variables.getvariable()]))
 
     def SetVariables(self, variables):