Commit 84ff9b6c authored by Keegi's avatar Keegi

Fix StaticTextSetting object value getting/setting/update throwing exceptions

parent 7934c306
...@@ -205,6 +205,12 @@ class StaticTextSetting(wxSetting): ...@@ -205,6 +205,12 @@ class StaticTextSetting(wxSetting):
super(StaticTextSetting, self).__init__(name, "", label, help, group) super(StaticTextSetting, self).__init__(name, "", label, help, group)
self.text = text self.text = text
def update(self):
pass
def _get_value(self):
return ""
def _set_value(self, value):
pass
def get_specific_widget(self, parent): def get_specific_widget(self, parent):
import wx import wx
self.widget = wx.StaticText(parent, -1, self.text) self.widget = wx.StaticText(parent, -1, self.text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment