Viewer.py
changeset 272 3a9db28bc6b5
parent 269 34eff05909b0
child 275 acf474a94136
equal deleted inserted replaced
271:4405cd3abbdb 272:3a9db28bc6b5
  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
  1886         dialog.SetValues(old_values)
  1887         dialog.SetValues(old_values)
  1887         if dialog.ShowModal() == wx.ID_OK:
  1888         if dialog.ShowModal() == wx.ID_OK:
  1888             new_values = dialog.GetValues()
  1889             new_values = dialog.GetValues()
  1889             rect = block.GetRedrawRect(1, 1)
  1890             rect = block.GetRedrawRect(1, 1)
  1890             if "name" in new_values:
  1891             if "name" in new_values: