89 |
parent=self, pos=wxPoint(80, 8), size=wxSize(124, 16), style=0, |
parent=self, pos=wxPoint(80, 8), size=wxSize(124, 16), style=0, |
90 |
validator=wxDefaultValidator, value='') |
validator=wxDefaultValidator, value='') |
91 |
self.comboBoxProfile.SetLabel('') |
self.comboBoxProfile.SetLabel('') |
92 |
|
EVT_COMBOBOX(self.comboBoxProfile, |
93 |
|
wxID_FRAGGLEDIALOGPREFSCOMBOBOXPROFILE, |
94 |
|
self.OnComboboxprofileCombobox) |
95 |
|
|
96 |
self.staticText6 = wxStaticText(id=wxID_FRAGGLEDIALOGPREFSSTATICTEXT6, |
self.staticText6 = wxStaticText(id=wxID_FRAGGLEDIALOGPREFSSTATICTEXT6, |
97 |
label='Profile', name='staticText6', parent=self, pos=wxPoint(16, |
label='Profile', name='staticText6', parent=self, pos=wxPoint(16, |
187 |
event.Skip() |
event.Skip() |
188 |
|
|
189 |
def OnButtonprofiledelButton(self, event): |
def OnButtonprofiledelButton(self, event): |
190 |
#self.parent.preferencesCtl.deleteProfile(self.comboBoxProfile.GetValue()) |
self.parent.preferencesCtl.deleteProfile(self.comboBoxProfile.GetValue()) |
191 |
#self.comboBoxProfile.Remove(self.comboBoxProfile.GetValue()) |
self.comboBoxProfile.Delete(self.comboBoxProfile.FindString(self.comboBoxProfile.GetValue())) |
192 |
|
self.parent.preferencesCtl.saveProfiles() |
193 |
|
self.updateConfig() |
194 |
|
event.Skip() |
195 |
|
|
196 |
|
def OnComboboxprofileCombobox(self, event): |
197 |
event.Skip() |
event.Skip() |
198 |
|
|