DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2116
Version: 2.0-current


Adding widgets that are not type RADIO to a group containing RadioButtons
causes the setonly() function to break early, causing incorrect behavior
(RadioButtons remain on when another RadioButton is selected).

Expected behavior is achieved by changing conditional in the for loops
from:

if( RADIO != c->type() ) break;
    c->clear();

to:

if( RADIO == c->type() )
    c->clear();


Link: http://www.fltk.org/str.php?L2116
Version: 2.0-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to