Fluid: update function_panel.fl from function_panel.cxx

Note: in commit a7328d940b
  "FLUID: Imporving method name `can_have_children()`"
  the file function_panel.cxx was edited w/o the corresponding
  fluid (.fl) file.

This commit fixes this, assuming the .cxx file was correct.
This commit is contained in:
Albrecht Schlosser 2024-10-20 20:03:09 +02:00
parent 32ac2ce0ac
commit d85b67beac

View File

@ -588,7 +588,7 @@ Function {make_comment_panel()} {open
Function {type_make_cb(Fl_Widget*,void*d)} {open return_type void
} {
code {const char *type_name = (const char*)d;
if (Fl_Type::current && Fl_Type::current->is_parent())
if (Fl_Type::current && Fl_Type::current->can_have_children())
add_new_widget_from_user(type_name, kAddAsLastChild);
else
add_new_widget_from_user(type_name, kAddAfterCurrent);} {}