# HG changeset patch # User lbessard # Date 1221654361 -7200 # Node ID 3a9db28bc6b5510814d2496c3d20d55a9b8ad757 # Parent 4405cd3abbdb30599e69a0ca2c090fb6e51926d7 Bug with setting name of function block while opening new Dialog Increasing number of pins allowed for power rail diff -r 4405cd3abbdb -r 3a9db28bc6b5 Viewer.py --- a/Viewer.py Wed Sep 17 07:35:19 2008 +0200 +++ b/Viewer.py Wed Sep 17 14:26:01 2008 +0200 @@ -1883,6 +1883,7 @@ "inputs" : block.GetInputTypes(), "executionControl" : block.GetExecutionControl(), "executionOrder" : block.GetExecutionOrder()} + print old_values dialog.SetValues(old_values) if dialog.ShowModal() == wx.ID_OK: new_values = dialog.GetValues()