diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-08-16 21:05:52 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-08-16 21:05:52 +0000 |
| commit | c9bfdc20fc111bb082bc024ab44d61eeb6bb77ca (patch) | |
| tree | b88689ce534f9e128326fc898d6b63e046a667ab /fluid | |
| parent | a9231a88c5245bba7d24cba53c056f28eecc80be (diff) | |
FLUID now correctly redraw FL__Tabs if one of their children changes color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index f0b439166..820b4184a 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -985,6 +985,9 @@ void color_cb(Fl_Button* i, void *v) { if (o->selected && o->is_widget()) { Fl_Widget_Type* q = (Fl_Widget_Type*)o; q->o->color(c); q->o->redraw(); + if (q->parent && q->parent->type_name() == tabs_type_name) { + if (q->o->parent()) q->o->parent()->redraw(); + } mod = 1; } } |
