fix marker type, search bar tuple problem
svn: r6622
This commit is contained in:
@@ -370,11 +370,12 @@ class MonitoredDataType:
|
||||
default,
|
||||
additional=custom_values)
|
||||
|
||||
value = self.sel.get_values()
|
||||
self.set_val(self.fix_value(value))
|
||||
|
||||
if val.is_custom():
|
||||
if get_val().is_custom():
|
||||
self.obj.set_active(get_val().get_custom())
|
||||
obj.child.set_text(str(val))
|
||||
else:
|
||||
active = int(get_val())
|
||||
self.obj.set_active(active)
|
||||
|
||||
self.obj.set_sensitive(not readonly)
|
||||
self.obj.connect('changed', self.on_change)
|
||||
|
Reference in New Issue
Block a user