Viewer.py
changeset 275 acf474a94136
parent 272 3a9db28bc6b5
child 277 5fc11b2d4fbb
equal deleted inserted replaced
274:047e36c63736 275:acf474a94136
  1881                       "type" : block.GetType(), 
  1881                       "type" : block.GetType(), 
  1882                       "extension" : block.GetExtension(), 
  1882                       "extension" : block.GetExtension(), 
  1883                       "inputs" : block.GetInputTypes(), 
  1883                       "inputs" : block.GetInputTypes(), 
  1884                       "executionControl" : block.GetExecutionControl(), 
  1884                       "executionControl" : block.GetExecutionControl(), 
  1885                       "executionOrder" : block.GetExecutionOrder()}
  1885                       "executionOrder" : block.GetExecutionOrder()}
  1886         print old_values
       
  1887         dialog.SetValues(old_values)
  1886         dialog.SetValues(old_values)
  1888         if dialog.ShowModal() == wx.ID_OK:
  1887         if dialog.ShowModal() == wx.ID_OK:
  1889             new_values = dialog.GetValues()
  1888             new_values = dialog.GetValues()
  1890             rect = block.GetRedrawRect(1, 1)
  1889             rect = block.GetRedrawRect(1, 1)
  1891             if "name" in new_values:
  1890             if "name" in new_values: