summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/file.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 3b47e2b5c..10c235084 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: file.cxx,v 1.7.2.6.2.2 2002/04/30 18:11:49 easysw Exp $"
+// "$Id: file.cxx,v 1.7.2.6.2.3 2002/05/12 02:19:18 easysw Exp $"
//
// Fluid file routines for the Fast Light Tool Kit (FLTK).
//
@@ -491,6 +491,9 @@ int read_file(const char *filename, int merge) {
if (merge) deselect(); else delete_all();
read_children(Fl_Type::current, merge);
Fl_Type::current = 0;
+ // Force menu items to be rebuilt...
+ for (Fl_Type *o = Fl_Type::first; o; o = o->next)
+ if (o->is_menu_item()) o->add_child(0,0);
for (Fl_Type *o = Fl_Type::first; o; o = o->next)
if (o->selected) {Fl_Type::current = o; break;}
return close_read();
@@ -628,5 +631,5 @@ void read_fdesign() {
}
//
-// End of "$Id: file.cxx,v 1.7.2.6.2.2 2002/04/30 18:11:49 easysw Exp $".
+// End of "$Id: file.cxx,v 1.7.2.6.2.3 2002/05/12 02:19:18 easysw Exp $".
//