| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]
STR #2116
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Unassigned |
Summary: | adding non-RADIO widgets to group "breaks" setonly() |
Version: | 2.0-current |
Created By: | sedwards |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | sedwards 15:23 Dec 28, 2008 |
| 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(); | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |