Fixing STR#3009 as a two step process:
1) Undo r9867 (a fix for STR#2939) which made more changes than needed Doing this will also fix #3009. 2) Apply just the small mod needed to fix STR#2939 so that both #3009 and #2939 are solved. This commit resolves (2), which re-fixes STR #2939. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
fca43790e0
commit
7accbfd440
@ -178,7 +178,11 @@ int Fl_Tabs::handle(int event) {
|
||||
Fl::focus(this);
|
||||
redraw_tabs();
|
||||
}
|
||||
if (o && value(o)) {
|
||||
if (o && // Released on a tab and..
|
||||
(value(o) || // tab changed value or..
|
||||
(when()&(FL_WHEN_NOT_CHANGED)) // ..no change but WHEN_NOT_CHANGED set,
|
||||
) // handles FL_WHEN_RELEASE_ALWAYS too.
|
||||
) {
|
||||
Fl_Widget_Tracker wp(o);
|
||||
set_changed();
|
||||
do_callback();
|
||||
|
Loading…
Reference in New Issue
Block a user