Bug 97796
mweilguni at kde.org
mweilguni at kde.org
Tue Mar 15 13:47:52 GMT 2005
Am Dienstag, 15. März 2005 14:36 schrieb David Faure:
> On Tuesday 15 March 2005 11:09, mweilguni at kde.org wrote:
> > -void RenderRadioButton::slotToggled(bool)
> > +void RenderRadioButton::slotToggled(bool activated)
> > {
> > - ref();
> > - element()->onChange();
> > - deref();
> > + if(activated) {
> > + ref();
> > + element()->onChange();
> > + deref();
> > + }
>
> So, unchecking a checkbox won't emit onchange anymore? This doesn't make
> sense to me.
For radiobuttons it makes sense, because a radiobutton cannot be unchecked
anymore, only by changing a button in the same group. Both IE and Firefox do
not emit onChanged for unchecked buttons, and that's correct IMO if you see a
group of radiobuttons more like a selectbox.
Regards,
Mario Weilguni
More information about the kfm-devel
mailing list