dialogs/LDPowerRailDialog.py
branch1.1 Korean release
changeset 1384 02fe382c4511
parent 1357 b8d577c7eb4b
child 1571 486f94a8032c
--- a/dialogs/LDPowerRailDialog.py	Wed Jul 31 10:45:07 2013 +0900
+++ b/dialogs/LDPowerRailDialog.py	Mon Nov 18 12:12:31 2013 +0900
@@ -75,6 +75,7 @@
         # Create spin control for defining power rail pin number
         self.PinNumber = wx.SpinCtrl(self, min=1, max=50,
               style=wx.SP_ARROW_KEYS)
+        self.PinNumber.SetValue(1)
         self.Bind(wx.EVT_SPINCTRL, self.OnPinNumberChanged, self.PinNumber)
         self.LeftGridSizer.AddWindow(self.PinNumber, flag=wx.GROW)