dialogs/SFCStepDialog.py
changeset 1599 466c26b0cfc2
parent 1571 486f94a8032c
child 1696 8043f32de7b8
equal deleted inserted replaced
1598:1445457547f7 1599:466c26b0cfc2
    69         self.ConnectorsCheckBox = {}
    69         self.ConnectorsCheckBox = {}
    70         for name, label in [("input", _("Input")),
    70         for name, label in [("input", _("Input")),
    71                             ("output", _("Output")),
    71                             ("output", _("Output")),
    72                             ("action", _("Action"))]:
    72                             ("action", _("Action"))]:
    73             check_box = wx.CheckBox(self, label=label)
    73             check_box = wx.CheckBox(self, label=label)
       
    74             if name == "output" or (name == "input" and not initial):
       
    75                 check_box.SetValue(True)
    74             self.Bind(wx.EVT_CHECKBOX, self.OnConnectorsChanged, check_box)
    76             self.Bind(wx.EVT_CHECKBOX, self.OnConnectorsChanged, check_box)
    75             self.LeftGridSizer.AddWindow(check_box, flag=wx.GROW)
    77             self.LeftGridSizer.AddWindow(check_box, flag=wx.GROW)
    76             self.ConnectorsCheckBox[name] = check_box
    78             self.ConnectorsCheckBox[name] = check_box
    77         
    79         
    78         # Add preview panel and associated label to sizers
    80         # Add preview panel and associated label to sizers