When trying to set icon to boolean or slider (and possibly some other types too, not tested) I'm getting this error. But it works when I'm using it on menu type
menu.xerathmenu:menu("Combo", "Combo");
menu.xerathmenu.Combo:set('icon',graphics.sprite('Sprites/Combo.png')) -- works correctly
menu.xerathmenu.Combo:boolean('q_combo', 'Use Q', true);
menu.xerathmenu.Combo.q_combo:set('icon',graphics.sprite('Sprites/Combo.png')) -- doesn't work
When trying to set icon to boolean or slider (and possibly some other types too, not tested) I'm getting this error. But it works when I'm using it on menu type