summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-08-25 08:10:31 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-08-25 08:10:31 +0000
commit8220dc5592066f43f1ccd0ec3052c835c54f1d58 (patch)
treec21c6199193740a998ace7c0c580ada51491ea20
parent3647295a1b67cc8a64425aada2f1eda78a076f32 (diff)
Fixed Fl_Tabs tooltip reappearing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES1
-rw-r--r--src/Fl_Tabs.cxx5
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 29b2d6316..818837ecd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
CHANGES IN FLTK 1.1.8
+ - Fixed Fl_Tabs tooltip reappearing (STR #1324)
- Added a new demo game called "Block Attack!"
- Updated the Sudoku game to show a notice about Hard and
Impossible puzzles having multiple solutions which are
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx
index 02bac39a1..c697435f7 100644
--- a/src/Fl_Tabs.cxx
+++ b/src/Fl_Tabs.cxx
@@ -158,7 +158,10 @@ int Fl_Tabs::handle(int event) {
set_changed();
do_callback();
}
- } else push(o);
+ Fl_Tooltip::current(o);
+ } else {
+ push(o);
+ }
return 1;
case FL_MOVE: {
int ret = Fl_Group::handle(event);