summaryrefslogtreecommitdiff
path: root/fluid/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/file.cxx')
-rw-r--r--fluid/file.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 73b51f52c..d06283670 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -406,6 +406,9 @@ Fl_Type *Fd_Project_Reader::read_children(Fl_Type *p, int merge, Strategy strate
t->layout_widget();
}
+ if (strategy == kAddAsFirstChild) {
+ strategy = kAddAfterCurrent;
+ }
if (strategy == kAddAfterCurrent) {
Fl_Type::current = t;
} else {