controls/VariablePanel.py
changeset 1184 891b49d2752b
parent 1175 01842255c9ff
child 1308 ad61268dbdb6
equal deleted inserted replaced
1183:a01618805821 1184:891b49d2752b
   534                         start_idx = 0
   534                         start_idx = 0
   535                 else:
   535                 else:
   536                     name = row_content["Name"]
   536                     name = row_content["Name"]
   537                     start_idx = 0
   537                     start_idx = 0
   538             else:
   538             else:
   539                 name = ""
   539                 row_content = None
       
   540                 start_idx = 0
       
   541                 name = "LocalVar"
   540                 
   542                 
   541             if row_content is not None and row_content["Edit"]: 
   543             if row_content is not None and row_content["Edit"]: 
   542                 row_content = self.Values[new_row - 1].copy()
   544                 row_content = self.Values[new_row - 1].copy()
   543             else:
   545             else:
   544                 row_content = self.DefaultValue.copy()
   546                 row_content = self.DefaultValue.copy()