mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-01 06:05:29 +00:00
fix a bug in the radio group setValue when the buttons haven't been rendered yet
This commit is contained in:
parent
9762853d32
commit
3b810f5ce3
@ -775,6 +775,7 @@ Ext.override(Ext.form.RadioGroup, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setValue: function(v) {
|
setValue: function(v) {
|
||||||
|
if (!this.items.each) return;
|
||||||
this.items.each(function(item) {
|
this.items.each(function(item) {
|
||||||
item.setValue((item.getRawValue() === 'true') == v);
|
item.setValue((item.getRawValue() === 'true') == v);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user