diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-21 13:18:50 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-21 13:20:11 +0200 |
| commit | f8d7ee6f5c0d018d5b8a8fa4565e386b81062348 (patch) | |
| tree | e11ca81a5ca8267813783f3a3ee05c93651ede18 /fluid/Fl_Widget_Type.cxx | |
| parent | 7a434575acc6cb8121ae790ab94250b331b412f4 (diff) | |
FLUID: adding a subset of Fl_Grid child parameters.
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 5c8ed99b5..f1e7e5170 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -2658,6 +2658,14 @@ static void load_panel() { } } } + if (current_widget && current_widget->parent->is_a(ID_Grid)) { + if (widget_tab_grid->parent()!=widget_tabs) + widget_tabs->add(widget_tab_grid); + } else { + if (widget_tab_grid->parent()==widget_tabs) { + widget_tabs_repo->add(widget_tab_grid); + } + } if (numselected) propagate_load(the_panel, LOAD); else |
