use method of Setting, and not method of Setting.text

This commit is contained in:
gac-maloja
2021-10-02 18:22:22 +02:00
parent 34b03658da
commit 92b737ec31

View File

@ -41,7 +41,7 @@ class SettingsList(wx.GridSizer):
return res
def set(self, name, value):
self.children[name].text.SetValue(value)
self.children[name].set_value(value)
def __getitem__(self, key):
return self.children[key]